Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NavigationView.DisplayMode 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 a value that specifies how the pane and content areas of a NavigationView are being shown.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property NavigationViewDisplayMode DisplayMode { NavigationViewDisplayMode get(); };
NavigationViewDisplayMode DisplayMode();
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewDisplayMode::Minimal")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewDisplayMode::Minimal")]
NavigationViewDisplayMode DisplayMode();
public NavigationViewDisplayMode DisplayMode { get; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewDisplayMode::Minimal")]
public NavigationViewDisplayMode DisplayMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewDisplayMode::Minimal")] get; }
Public ReadOnly Property DisplayMode As NavigationViewDisplayMode

Property Value

A value of the enumeration that specifies how the pane and content areas of a NavigationView are being shown.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Remarks

To set the state of the pane and content areas, use the PaneDisplayMode property.

Applies to


Feedback

Was this page helpful?