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

HamburgerMenu.ItemTemplateSelector Property

Gets or sets a custom data template selection logic.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public DataTemplateSelector ItemTemplateSelector { get; set; }

#Property Value

Type Description
DataTemplateSelector

A System.Windows.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

If your application is designed according to the MVVM pattern, use the HamburgerMenu.ItemsSource property to specify the source of data, and the HamburgerMenu.ItemTemplate or ItemTemplateSelector property to provide a data template used to visualize these data objects. If the data template is not specified, the string representation of the data objects is used.

See Also