Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Custom Server Controls

Status
Not open for further replies.

tperri

Programmer
Apr 8, 2006
728
US
I'm creating custom server controls, one of them is inheriting from a textbox. I want to create a property, say for example, Color, and in the designer, I want the use to be able to choose from a list of colors in a drop down in the property window for this control.

How do I do the dropdown list for the property's value?

Thanks in advance,
tperri
 
Figured it out - used enumerations and made the properties typeof Enum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top