NavigationViewShoulderNavigationEnabled Enum

Definition

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

C#
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
[Windows.Foundation.Metadata.Version(1)]
public enum NavigationViewShoulderNavigationEnabled
C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
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

Prepitné

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

Produkt Verzie
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also