XYFocusKeyboardNavigationMode Enum

Definition

Specifies the 2D directional navigation behavior when using the keyboard arrow keys.

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

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Auto 0

Behavior is inherited from the elements ancestors. If all ancestors have a value of Auto, the fallback behavior is Disabled.

Disabled 2

Arrow keys cannot be used for 2D directional navigation.

Enabled 1

Arrow keys can be used for 2D directional navigation.

Remarks

This enumeration is used by the UIElement.XYFocusKeyboardNavigation property.

2D directional navigation is used to navigate a user interface (UI) with a gamepad, remote control, or keyboard directional arrows. For more info, see Gamepad and remote control interactions and UIElement.XYFocusKeyboardNavigation.

Applies to

See also