Hi all,
I am trying to make an "allround" combobox, being able to just be a combobox
or an imagecombo. The appearance of this control can be either 3D or flat.
The control is based on
http://www.codeproject.com/cs/combob...etcombobox.asp (which has the
ComboBox control being inherited by the ComboBoxBase, which is in turn
inherited by the TextComboBox). Instead of using regular Items (strings), I
want Items with Text, Key and ImageIndex properties. Therefore I have the
Items property shadowed:
<DesignerSerializationVisibility(DesignerSerializa tionVisibility.Content)>
Public Shadows ReadOnly Property Items() As Items
Get
Return mvarItems
End Get
End Property
I can add and remove items with the Item Collection Editor, but the code for
these items is never generated (or so it seems).
What am I doing wrong here? Any help appreciated!
Stefan.