NavigationView.SelectionFollowsFocus Eigenschaft

Definition

Ruft einen Wert ab oder legt einen Wert fest, der angibt, ob die Elementauswahl geändert wird, wenn sich der Tastaturfokus ändert.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die Windows App SDK Namespaces).

public:
 property NavigationViewSelectionFollowsFocus SelectionFollowsFocus { NavigationViewSelectionFollowsFocus get(); void set(NavigationViewSelectionFollowsFocus value); };
NavigationViewSelectionFollowsFocus SelectionFollowsFocus();

void SelectionFollowsFocus(NavigationViewSelectionFollowsFocus value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")]
NavigationViewSelectionFollowsFocus SelectionFollowsFocus();

void SelectionFollowsFocus(NavigationViewSelectionFollowsFocus value);
public NavigationViewSelectionFollowsFocus SelectionFollowsFocus { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")]
public NavigationViewSelectionFollowsFocus SelectionFollowsFocus { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")] set; }
Public Property SelectionFollowsFocus As NavigationViewSelectionFollowsFocus

Eigenschaftswert

Ein Wert der Aufzählung, die angibt, ob sich die Auswahl ändert, wenn sich der Tastaturfokus ändert. Die Standardeinstellung lautet "Deaktiviert".

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: