Share via


NavigationViewShoulderNavigationEnabled Enum

Definition

Defines constants that specify when game controller bumpers can be used to navigate the top-level navigation items in a NavigationView.

public enum class NavigationViewShoulderNavigationEnabled
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
/// [Windows.Foundation.Metadata.Version(1)]
enum class NavigationViewShoulderNavigationEnabled
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class NavigationViewShoulderNavigationEnabled
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
[Windows.Foundation.Metadata.Version(1)]
public enum NavigationViewShoulderNavigationEnabled
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum NavigationViewShoulderNavigationEnabled
Public Enum NavigationViewShoulderNavigationEnabled
Inheritance
NavigationViewShoulderNavigationEnabled
Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute VersionAttribute ContractVersionAttribute

Fields

Name Value Description
WhenSelectionFollowsFocus 0

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

Always 1

Game controller bumpers always navigate the top-level navigation items.

Never 2

Game controller bumpers never navigate the top-level navigation items.

Examples

Tip

For more info, design guidance, and code examples, see NavigationView.

The WinUI 3 Gallery app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.

Applies to

See also