Overriding PropertyEditorTemplates

Feb 25, 2011 at 1:18 PM


Is there a way to override from within my application (i.e without modifying the library) the templates defined in

the PropertyEditorTemplates.xaml file ?

Maybe the PropertyEditor properties like CategoryTemplateSelector and PropertyTemplateSelector and PropertyViewModelFactory

are of interest to do that but it´s not clear for me how to use it.

The templates of most interest for me are

- TabPageTemplate

- CategoryExpanderTemplate

- DataTemplate DataType="{x:Type local:PropertyViewModel}"

This feature (if it does not exist yet) would be nice since we would not have to change the library to change

the look and feel of the PropertyEditor.


Feb 25, 2011 at 6:40 PM

hi giko, I agree on this - the category and tab templates should be possible to define via a selector or a DataTemplate property on the PropertyEditor. I'll add the request to the issue tracker!