Share via


NavigationView.MenuItemContainerStyle Property

Definition

Gets or sets the style that is used when rendering the menu item containers.

public:
 property Style ^ MenuItemContainerStyle { Style ^ get(); void set(Style ^ value); };
Style MenuItemContainerStyle();

void MenuItemContainerStyle(Style value);
public Style MenuItemContainerStyle { get; set; }
var style = navigationView.menuItemContainerStyle;
navigationView.menuItemContainerStyle = style;
Public Property MenuItemContainerStyle As Style
<NavigationView>
  <NavigationView.MenuItemContainerStyle>
    inlineStyle
  </NavigationView.MenuItemContainerStyle>
</NavigationView>

Property Value

The style applied to the item containers. The default is null.

Applies to