Share via


NavigationView.PaneToggleButtonStyle Property

Definition

Gets or sets the Style that defines the look of the menu toggle button.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationView.PaneToggleButtonStyle (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

void PaneToggleButtonStyle(Style value);
public Style PaneToggleButtonStyle { get; set; }
var style = navigationView.paneToggleButtonStyle;
navigationView.paneToggleButtonStyle = style;
Public Property PaneToggleButtonStyle As Style
<NavigationView PaneToggleButtonStyle="{StaticResource styleResourceKey}"/>

Property Value

The Style that defines the look of the menu toggle button. The default is null.

Applies to