Skip to main content

HamburgerMenu.HeaderTemplateSelector Property

Gets or sets a custom data template selection logic to render the menu header.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public DataTemplateSelector HeaderTemplateSelector { get; set; }

Property Value

Type Description
DataTemplateSelector

A Windows.UI.Xaml.Controls.DataTemplateSelector object that implements a custom data template selection logic. Typically, this is a keyed resource, which you reference through a {StaticResource} markup extension.

Remarks

You set the menu header with the HamburgerMenu.Header property. The HamburgerMenu.HeaderTemplate and HeaderTemplateSelector properties allow you to specify how the data object is rendered. If no data template is specified, the string representation of the object is used.

See Also