J
Joerg Krause
I'm using the PropertyGrid with classes which contain collections. The
collection are shown in the grid appear with the value "(Collection)"
and an ellipses where the user can start the CollectionEditor.
To localize my grid I've add a PropertyTab and a custom
PropertyDescriptor. This works well for all properties - except
collection. If I switch to my own PropertyDescriptor all property get
there values (Category, Description) from the Descriptor class, except
the Collections.
Problem: The Collection entry appears grayed out (like readonly ones)
and cannot be changed anymore. If I switch back from my own Descriptor
to the built in the collection becomes visible.
If I don't use the EditorAttribute with CollectionEditor I get the
standard collection editor, which works, but without any access to my
descriptor, because I don't have the button in the PropertyTab in the
grid of the CollectionEditor (in my own editor I have such a button
because I have turned on the Toolbar via Reflection).
Has anybody any ideas how to deal with PropertyDescriptor AND
CollectionEditor?
Thanks for any help...
Joerg
collection are shown in the grid appear with the value "(Collection)"
and an ellipses where the user can start the CollectionEditor.
To localize my grid I've add a PropertyTab and a custom
PropertyDescriptor. This works well for all properties - except
collection. If I switch to my own PropertyDescriptor all property get
there values (Category, Description) from the Descriptor class, except
the Collections.
Problem: The Collection entry appears grayed out (like readonly ones)
and cannot be changed anymore. If I switch back from my own Descriptor
to the built in the collection becomes visible.
If I don't use the EditorAttribute with CollectionEditor I get the
standard collection editor, which works, but without any access to my
descriptor, because I don't have the button in the PropertyTab in the
grid of the CollectionEditor (in my own editor I have such a button
because I have turned on the Toolbar via Reflection).
Has anybody any ideas how to deal with PropertyDescriptor AND
CollectionEditor?
Thanks for any help...
Joerg