This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I'm interested in the way these different kinds of generic types are handled by PropertyGrid: |
|
|
We use the declared property type (plus other metadata like type converters) to determine what kind of editor to display. Similarly, if you have a property of type object that happens at the moment to contain an enum, you'll get the "grey box" rather than a drop-down. If you know that the property is actually going to contain a particular type, use a PropertyEditor to assign a suitable editor. |
|