Share via


NavigationView.ShoulderNavigationEnabled Property

Definition

Gets or sets a value that indicates when game controller bumpers can be used to navigate the top-level navigation items in a NavigationView.

public:
 property NavigationViewShoulderNavigationEnabled ShoulderNavigationEnabled { NavigationViewShoulderNavigationEnabled get(); void set(NavigationViewShoulderNavigationEnabled value); };
/// [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);
/// [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 { [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")]
public NavigationViewShoulderNavigationEnabled ShoulderNavigationEnabled { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewShoulderNavigationEnabled::Never")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewShoulderNavigationEnabled::Never")] set; }
var navigationViewShoulderNavigationEnabled = navigationView.shoulderNavigationEnabled;
navigationView.shoulderNavigationEnabled = navigationViewShoulderNavigationEnabled;
Public Property ShoulderNavigationEnabled As NavigationViewShoulderNavigationEnabled

Property Value

A value of the enumeration that indicates when game controller bumpers can be used to navigate the top-level navigation items in a NavigationView. The default is Never.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to