Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TileNavPane.NavButtonTemplateSelector Property

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

This is a dependency property.

Namespace: DevExpress.Xpf.Navigation

Assembly: DevExpress.Xpf.Controls.v24.2.dll

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public DataTemplateSelector NavButtonTemplateSelector { get; set; }

#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 NavButtonTemplateSelector property supports the MVVM design pattern.

See Also