Today I want to show how to implement expandable property for web control(property like Font or Style in WebControl class)
For example we have class
The key string in this class is [TypeConverter(typeof (TresholdConverter))]. So we are going to implement TresholdConverter class
It inherits from ExpandableObjectConverter class and overrides 4 his methods. Function of this class is adding value convert support to property grid for design-time.
In web control you can implement such property for example:
If you something don't understand see to MSDN or ask your question here.
Feel free to subscribe to our RSS feed.