HamburgerSubMenu.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 |
---|---|
Data |
A System. |
#Remarks
If your application is designed according to the MVVM pattern, use the HamburgerSubMenu.ItemsSource property to specify the source of data, and the HamburgerSubMenu.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.