Share via


NavigationView.ShoulderNavigationEnabled Propriedade

Definição

Obtém ou define um valor que indica quando os para-choques do gamepad podem ser usados para navegar pelos itens de navegação de nível superior em um NavigationView.

Esta documentação se aplica ao WinUI 2 para UWP (para WinUI no SDK do Aplicativo Windows, consulte os namespaces SDK do Aplicativo Windows).

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

Valor da propriedade

Um valor da enumeração que indica quando os para-choques do gamepad podem ser usados para navegar pelos itens de navegação de nível superior em um NavigationView. O padrão é Nunca.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Aplica-se a