Dynamic properties and custom editors

Nov 12, 2010 at 10:04 AM

Hi Benjamin,

thanks for your great work on this.
I have a question about how to use DynamicPropertyCollection with custom editors.

DSL Tools allows you to provide custom editors for the properties by setting an Attribute and
writing a class that derives from UITypeEditor. What can I do to do the same with the dynamic
properties?

I tried to change the DynamicPropertyCollextion.GetPropertyType(..) Method to virtual and to
override it in a subclass. But when I'm using this subclass the initialization of the property doesn't work
and I'm getting a null reference exception when trying to edit the property.

thanks, greetings,

Eugen Berenstein