XYFocusKeyboardNavigationMode XYFocusKeyboardNavigationMode XYFocusKeyboardNavigationMode XYFocusKeyboardNavigationMode Enum

Definition

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

public : enum class XYFocusKeyboardNavigationMode
enum class winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode : int32_t
public enum XYFocusKeyboardNavigationMode
Public Enum XYFocusKeyboardNavigationMode
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Fields

Auto Auto Auto Auto 0

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

Disabled Disabled Disabled Disabled 2

Arrow keys cannot be used for 2D directional navigation.

Enabled Enabled Enabled 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.

See also