HamburgerMenu.ItemTemplateSelector Property

Syntax

C#

public DataTemplateSelector ItemTemplateSelector { get; set; }

VB

Public Property ItemTemplateSelector As DataTemplateSelector

Property value

Type: 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 ItemsSource property to specify the source of data, and the 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.