NavigationView.ShoulderNavigationEnabled Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, wann Gamepad-Stoßstangen verwendet werden können, um in einer NavigationView in den Navigationselementen auf oberster Ebene zu navigieren.

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

public:
 property NavigationViewShoulderNavigationEnabled ShoulderNavigationEnabled { NavigationViewShoulderNavigationEnabled get(); void set(NavigationViewShoulderNavigationEnabled value); };
NavigationViewShoulderNavigationEnabled ShoulderNavigationEnabled();

void ShoulderNavigationEnabled(NavigationViewShoulderNavigationEnabled value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewShoulderNavigationEnabled::Never")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewShoulderNavigationEnabled::Never")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewShoulderNavigationEnabled::Never")]
NavigationViewShoulderNavigationEnabled ShoulderNavigationEnabled();

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

Eigenschaftswert

Ein Wert der Aufzählung, die angibt, wann Gamepad-Bumper verwendet werden können, um in einer Navigationsansicht in den Navigationselementen auf oberster Ebene zu navigieren. Der Standardwert ist "Nie".

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: