NavigationView.MenuItemTemplate NavigationView.MenuItemTemplate NavigationView.MenuItemTemplate NavigationView.MenuItemTemplate Property

Definition

Gets or sets the DataTemplate used to display each menu item.

public : DataTemplate MenuItemTemplate { get; set; }
DataTemplate MenuItemTemplate();

void MenuItemTemplate(DataTemplate menuitemtemplate);
public DataTemplate MenuItemTemplate { get; set; }
Public ReadWrite Property MenuItemTemplate As DataTemplate
<NavigationMenu>
  <NavigationMenu.MenuItemTemplate>
    singleDataTemplate
  </NavigationMenu.MenuItemTemplate>
</NavigationMenu>

Property Value

The template that specifies the visualization of the menu data objects. The default is null.