Jaa


NavigationView.ShoulderNavigationEnabled Property

Definition

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

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationView.ShoulderNavigationEnabled (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);
public NavigationViewShoulderNavigationEnabled ShoulderNavigationEnabled { get; set; }
var navigationViewShoulderNavigationEnabled = navigationView.shoulderNavigationEnabled;
navigationView.shoulderNavigationEnabled = navigationViewShoulderNavigationEnabled;
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.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to