NavigationView.PaneDisplayMode Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, wie und wo der NavigationView-Bereich angezeigt wird.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die Windows App SDK Namespaces).

public:
 property NavigationViewPaneDisplayMode PaneDisplayMode { NavigationViewPaneDisplayMode get(); void set(NavigationViewPaneDisplayMode value); };
NavigationViewPaneDisplayMode PaneDisplayMode();

void PaneDisplayMode(NavigationViewPaneDisplayMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewPaneDisplayMode::Auto")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewPaneDisplayMode::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewPaneDisplayMode::Auto")]
NavigationViewPaneDisplayMode PaneDisplayMode();

void PaneDisplayMode(NavigationViewPaneDisplayMode value);
public NavigationViewPaneDisplayMode PaneDisplayMode { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewPaneDisplayMode::Auto")]
public NavigationViewPaneDisplayMode PaneDisplayMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewPaneDisplayMode::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewPaneDisplayMode::Auto")] set; }
Public Property PaneDisplayMode As NavigationViewPaneDisplayMode

Eigenschaftswert

Ein Wert der Aufzählung, die angibt, wie und wo der NavigationView-Bereich angezeigt wird. Die Standardeinstellung ist "Auto".

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für:

Weitere Informationen