Share via


NavigationViewSelectionFollowsFocus Enumeration

Definition

Definiert Konstanten, die angeben, ob sich die Elementauswahl ändert, wenn sich der Tastaturfokus in einer NavigationView ändert.

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

Felder

Disabled 0

Die Auswahl ändert sich nicht, wenn sich der Tastaturfokus ändert.

Enabled 1

Die Auswahl ändert sich, wenn sich der Tastaturfokus ändert.

Beispiele

Tipp

Weitere Informationen, Entwurfsanleitungen und Codebeispiele finden Sie unter NavigationView.

Die WinUI 3-Katalog-App umfasst interaktive Beispiele für die meisten WinUI 3-Steuerelemente, -Features und -Funktionen. Rufen Sie die App aus dem Microsoft Store oder den Quellcode auf GitHub ab.

Gilt für: