CollectionControl: set custom editor on PropertyGrid properties
CollectionControl does not expose PropertyGrid property so I’m unable to set a custom editor template on some of the properties contained in the PropertyGrid.
Getting into the details:
The ItemSource of a CollectionControl is a list of objects: List<Foo>.
Foo object contains several properties, one of which is a Bar object.
These properties are listed in the PropertyGrid (contained in a CollectionControl): Xceed Toolkit applies its own editors, where available, but he doesn’t know what to do with the Bar object and leaves only: ‘IList<Foo>.Bar (or something like that).
How can I set a custom EditorTemplate on the Bar object?