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?
 
Back
Top