Back to Devexpress

SlideView.ItemHeaderTemplate Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-slideview-1e5e104b.md

latest2.7 KB
Original Source

SlideView.ItemHeaderTemplate Property

Gets or sets the DataTemplate object that visualizes headers for all SlideViewItems within the current SlideView.

Namespace : DevExpress.Xpf.WindowsUI

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

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public DataTemplate ItemHeaderTemplate { get; set; }
vb
Public Property ItemHeaderTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate that visualizes headers for all SlideViewItems within the current SlideView.

|

Remarks

You can also use a DataTemplate object to visualize the SlideView.Header of a SlideView itself. Use the SlideView.HeaderTemplate property to do so.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemHeaderTemplate property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

create-wpf-slide-view/CS/SlideViewSample/MainWindow.xaml#L74

xml
<Grid Background="White">
    <dxwui:SlideView ItemsSource="{Binding DataSource}" Header="Slide View" ItemTemplate="{StaticResource ItemContentTemplate}" ItemHeaderTemplate="{StaticResource ItemHeaderTemplate}">

See Also

Header

HeaderTemplate

SlideView Class

SlideView Members

DevExpress.Xpf.WindowsUI Namespace