Note

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

Access to this page requires authorization. You can try .

NavigationView.ShoulderNavigationEnabled 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 or sets a value that indicates when gamepad bumpers can be used to navigate the top-level navigation items in a NavigationView.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the 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

Property Value

A value of the enumeration that indicates when gamepad 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


Feedback

Was this page helpful?