NavigationView.OpenPaneLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).