NavigationView.IsPaneVisible Property


Gets or sets a value that determines whether the pane is shown.

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

 property bool IsPaneVisible { bool get(); void set(bool value); };
bool IsPaneVisible();

void IsPaneVisible(bool value);
public bool IsPaneVisible { get; set; }
var boolean = navigationView.isPaneVisible;
navigationView.isPaneVisible = boolean;
Public Property IsPaneVisible As Boolean

Property Value



true is the pane is shown; otherwise, false. The default is true.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to