I have a class with an Integer Property which I want to change over a PropertyGrid. BUT: I don't want to use the Integer InputBox but a Dropdown List with an Enum as content. How could I do this?
Join Stack Overflow to learn, share knowledge, and build your career.
I have a class with an Integer Property which I want to change over a PropertyGrid. BUT: I don't want to use the Integer InputBox but a Dropdown List with an Enum as content. How could I do this?
public MyEnum MyIntPropWrapper { get { return (MyEnum)_myInt; } set { _myInt = (int)value; } }
– Olivier Jacot-Descombes Dec 11 '11 at 17:18