NavigationViewDisplayMode NavigationViewDisplayMode NavigationViewDisplayMode NavigationViewDisplayMode Enum

Definition

Defines constants that specify how the pane is shown in a NavigationView.

public : enum class NavigationViewDisplayMode
public enum NavigationViewDisplayMode
Public Enum NavigationViewDisplayMode
var value = Windows.UI.Xaml.Controls.NavigationViewDisplayMode.compact;
Attributes
Windows 10 requirements
Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Fields

Compact Compact Compact Compact

The pane always shows as a narrow sliver which can be opened to full width.

Expanded Expanded Expanded Expanded

The pane stays open alongside the content.

Minimal Minimal Minimal Minimal

Only the menu button remains fixed. The pane shows and hides as needed.