Back to Devexpress

PropertyDefinitionBase.DescriptionTemplateSelector Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertydefinitionbase-b005fd23.md

latest2.1 KB
Original Source

PropertyDefinitionBase.DescriptionTemplateSelector Property

Gets or sets an object that chooses a property description template based on custom logic. This is a dependency property.

Namespace : DevExpress.Xpf.PropertyGrid

Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public DataTemplateSelector DescriptionTemplateSelector { get; set; }
vb
Public Property DescriptionTemplateSelector As DataTemplateSelector

Property Value

TypeDescription
DataTemplateSelector

A DataTemplateSelector descendant that applies a template based on custom logic.

|

Remarks

To implement custom logic for choosing the template, you should implement a DataTemplateSelector descendant, and override the SelectTemplate method. This method returns a data template for the property description.

To learn more, see Appearance Customization.

See Also

Choosing Templates Based on Custom Logic

PropertyDefinitionBase Class

PropertyDefinitionBase Members

DevExpress.Xpf.PropertyGrid Namespace