Design-Time support for Custom Panel Control

  • Thread starter Thread starter Russ
  • Start date Start date
R

Russ

Hi all,

I created a custom control that inherits from
System.Windows.Forms.Panel Class.
I added a label and a listbox to this control.

The control functions correctly during run-time, i.e I can set
properties to both the label and the listbox.

During design-time I can set the properties for the labels text
property, however if
I set the Item property for the listbox the data disappears.

Any ideas to resolve this.
 
How have you exposed the Items property of the ListBox? Or are you exposing
the entire ListBox from your custom control?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top