NavigationViewDisplayMode NavigationViewDisplayMode NavigationViewDisplayMode NavigationViewDisplayMode Enum

Definition

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

public : enum class NavigationViewDisplayMode
enum class winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode : int32_t
public enum NavigationViewDisplayMode
Public Enum NavigationViewDisplayMode
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 1

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

Expanded Expanded Expanded Expanded 2

The pane stays open alongside the content.

Minimal Minimal Minimal Minimal 0

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