TileNavPane.CategoryTemplateSelector Property

Gets or sets an object that chooses a template used to visualize objects stored as elements in the TileNavPane.CategoriesSource collection.

This is a dependency property.

Namespace: DevExpress.Xpf.Navigation

Assembly: DevExpress.Xpf.Controls.v20.1.dll

Declaration

public DataTemplateSelector CategoryTemplateSelector { get; set; }
Public Property CategoryTemplateSelector As DataTemplateSelector

Property Value

Type Description
DataTemplateSelector

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

Remarks

To implement custom logic for choosing a template, create a System.Windows.Controls.DataTemplateSelector descendant, and override the System.Windows.Controls.DataTemplateSelector.SelectTemplate method. This method returns a data template for a specific object.

The CategoryTemplateSelector property supports the MVVM design pattern.

See Also