DataTemplateSelector Support
The DataTemplateSelector approach enables conditional selection of DataTemplates, based on information provided by the respective bound data item.
Read more about DataTemplateSelectors in the Template Selectors article.
DataTemplateSelectors in RadPropertyGrid
RadPropertyGrid enables its users to implement conditional editor DataTemplate selection for its PropertyGridFields trough a DataTemplateSelector:
Example 1: Creating custom DataTemplateSelector
Example 2: Defining custom DataTemplateSelector
You might wonder where these "telerik" and "local", in front of the tags RadPropertyGrid and FieldTemplateSelector, came from. Well, these are the names of the namespaces you give when you import the appropriate assembly or your custom DataTemplateSelector class into the XAML file.
The AutoBind attached behavior is fully compatible with the DataTemplateSelector approach.