Share via


NavigationView.OpenPaneLength Property

Definition

Gets or sets the width of the NavigationView pane when it's fully expanded.

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

public:
 property double OpenPaneLength { double get(); void set(double value); };
double OpenPaneLength();

void OpenPaneLength(double value);
public double OpenPaneLength { get; set; }
var double = navigationView.openPaneLength;
navigationView.openPaneLength = double;
Public Property OpenPaneLength As Double

Property Value

Double

double

The width of the NavigationView pane when it's fully expanded. The default is 320 device-independent pixel (DIP).

Applies to