public class ControlWithComboBox : MyControls.BaseControl, IDataEntryControl
{
...
protected System.Windows.Forms.ComboBox comboBox;
...
public ComboBox.ObjectCollection Items
{
get{ return comboBox.Items; }
}
...
}
Now I get a different TypeEditor in the desiger, and it's useless. Is there
something simple I'm missing to tell VS that this field can be changed in
the same way as the ComboBox.Items?
Thanks,
Rachel
______________________________________________________________
Roydan Enterprises Ltd
602 North 9th Street
Manitowoc, WI 54220-3924
[Description("Gets the collection of items displayed by the current combo
box editor."),
DesignerSerializationVisibility(DesignerSerializationVisibility.Content),
Editor("System.Windows.Forms.Design.StringCollectionEditor, System.Design",
typeof(System.Drawing.Design.UITypeEditor))]
public ComboBox.ObjectCollection Items
{
get{ return comboBox.Items; }
}
-Rachel
"Rachel Suddeth" <rac...@bldhound.com> wrote in message
news:uc7xaXr5...@TK2MSFTNGP11.phx.gbl...