NavigationView.SelectionFollowsFocus Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft einen Wert ab, der angibt, ob sich die Elementauswahl ändert, wenn sich der Tastaturfokus ändert, oder legt diesen fest.
Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.NavigationView.SelectionFollowsFocus (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).
public:
property NavigationViewSelectionFollowsFocus SelectionFollowsFocus { NavigationViewSelectionFollowsFocus get(); void set(NavigationViewSelectionFollowsFocus value); };
NavigationViewSelectionFollowsFocus SelectionFollowsFocus();
void SelectionFollowsFocus(NavigationViewSelectionFollowsFocus value);
public NavigationViewSelectionFollowsFocus SelectionFollowsFocus { get; set; }
var navigationViewSelectionFollowsFocus = navigationView.selectionFollowsFocus;
navigationView.selectionFollowsFocus = navigationViewSelectionFollowsFocus;
Public Property SelectionFollowsFocus As NavigationViewSelectionFollowsFocus
Eigenschaftswert
Ein Wert der -Enumeration, der angibt, ob sich die Auswahl ändert, wenn sich der Tastaturfokus ändert. Der Standardwert ist Deaktiviert.
Windows-Anforderungen
Gerätefamilie |
Windows 10, version 1809 (eingeführt in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v7.0)
|
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für