Skip to main content
A newer version of this page is available. .

SlideView.ItemHeaderTemplateSelector Property

Gets or sets an object that chooses a template which realizes the headers for all items within the current SlideView.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public DataTemplateSelector ItemHeaderTemplateSelector { get; set; }

Property Value

Type Description
DataTemplateSelector

A DataTemplateSelector that chooses a template which realizes the headers for all items within the current SlideView.

Remarks

SlideView item headers (the Content property for SlideViewItem objects) can be customized via Data Templates. To do so, assign a required Data Template to the SlideView.ItemHeaderTemplate property. You can also use templates to items themselves via the ItemTemplate property.

To implement custom logic for choosing a template, you should 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 ItemHeaderTemplateSelector property supports the MVVM design pattern.

See Also