Hi,
I have a custom control. I need to add a property, say, Comparison, to the control. The property should be set at design time using a dropdown. The Dropdown will have String values like '=','>','<' etc.
I tried using Enum values and working perfectly but I need to do some extra coding to convert the Enum values to the string I required. It would be great if I can get the values from the dropdown so that I can directly use the selcted value.

Thanks in advance!!!

Recommended Answers

Hi,

I think you can find some information, here.

Jump to Post

All 2 Replies

Hi,

I think you can find some information, here.

Thanks for the reply. But I do not want to use the Enum. I want to add a dropdown with values as the property selector.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.