
Hi all,
when I have a string property that appears in the PropertyGrid an expander symbol appears next to it in a similar fashion to a category. This expands out to give me another list of the same properties with all the strings having expanders by them and so on and so forth.
I've tried explicitely declaring the TypeEditor to use as TextBoxPropertyEditor on the property but to no avail:I am using a custom DataFactory with CustomDataAccessors but this is only to change the read only property so doesn't do much. I should add I'm binding to a SelectedObject and it's picking up the properties okay, just gives me this strange behaviour when the property is a string. What determines whether an "expandable" symbol appears for a property or not?
Any ideas?
Rick
[Modified at 06/18/2009 08:31 AM]
when I have a string property that appears in the PropertyGrid an expander symbol appears next to it in a similar fashion to a category. This expands out to give me another list of the same properties with all the strings having expanders by them and so on and so forth.
I've tried explicitely declaring the TypeEditor to use as TextBoxPropertyEditor on the property but to no avail:
[Editor(typeof(TextBoxPropertyEditor), typeof(PropertyEditor))]
Any ideas?
Rick
[Modified at 06/18/2009 08:31 AM]