NavigationView.PaneDisplayMode 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 a value that indicates how and where the NavigationView pane is shown.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationView.PaneDisplayMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public:
property NavigationViewPaneDisplayMode PaneDisplayMode { NavigationViewPaneDisplayMode get(); void set(NavigationViewPaneDisplayMode value); };
NavigationViewPaneDisplayMode PaneDisplayMode();
void PaneDisplayMode(NavigationViewPaneDisplayMode value);
public NavigationViewPaneDisplayMode PaneDisplayMode { get; set; }
var navigationViewPaneDisplayMode = navigationView.paneDisplayMode;
navigationView.paneDisplayMode = navigationViewPaneDisplayMode;
Public Property PaneDisplayMode As NavigationViewPaneDisplayMode
Property Value
A value of the enumeration that indicates how and where the NavigationView pane is shown. The default is Auto.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|