Dela via


NavigationViewSelectionFollowsFocus Enum

Definition

Defines constants that specify whether item selection changes when keyboard focus changes in a NavigationView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationViewSelectionFollowsFocus (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public enum class NavigationViewSelectionFollowsFocus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class NavigationViewSelectionFollowsFocus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum NavigationViewSelectionFollowsFocus
Public Enum NavigationViewSelectionFollowsFocus
Inheritance
NavigationViewSelectionFollowsFocus
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Fields

Name Value Description
Disabled 0

Selection does not change when keyboard focus changes.

Enabled 1

Selection changes when keyboard focus changes.

Applies to