I want to know how to add a property to my custom user control that has a drop down menu. Essentially I want to do the same this a when you select on of "None", "FixedSingle" or Fixed3D" when choosing the BorderStyle property in the Panel user control.
I know how to do it for one property:
[Description("Test text displayed in the textbox"),Category("Data")]
public string Text {
get { return myInnerTextBox.Text; }
set { myInnerTextBox.Text = value; }
}
Now I want to be able to select a String from a predefined list of strings.