Dela via


NavigationViewShoulderNavigationEnabled Enum

Definition

Defines constants that specify 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.NavigationViewShoulderNavigationEnabled (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public enum class NavigationViewShoulderNavigationEnabled
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class NavigationViewShoulderNavigationEnabled
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum NavigationViewShoulderNavigationEnabled
Public Enum NavigationViewShoulderNavigationEnabled
Inheritance
NavigationViewShoulderNavigationEnabled
Attributes

Windows requirements

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

Fields

Name Value Description
WhenSelectionFollowsFocus 0

Gamepad bumpers navigate the top-level navigation items when the SelectionFollowsFocus property is Enabled.

Always 1

Gamepad bumpers always navigate the top-level navigation items.

Never 2

Gamepad bumpers never navigate the top-level navigation items.

Applies to

See also