NavigationViewPaneDisplayMode Enum
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.
Defines constants that specify how and where the NavigationView pane is shown.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewPaneDisplayMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public enum class NavigationViewPaneDisplayMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class NavigationViewPaneDisplayMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum NavigationViewPaneDisplayMode
Public Enum NavigationViewPaneDisplayMode
- Inheritance
-
NavigationViewPaneDisplayMode
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Fields
Name | Value | Description |
---|---|---|
Auto | 0 | The pane is shown on the left side of the control, and changes between minimal, compact, and full states depending on the width of the window. |
Left | 1 | The pane is shown on the left side of the control in its fully open state. |
Top | 2 | The pane is shown at the top of the control. |
LeftCompact | 3 | The pane is shown on the left side of the control. Only the pane icons are shown by default. |
LeftMinimal | 4 | The pane is shown on the left side of the control. Only the pane menu button is shown by default. |