Skip to main content

XYFocusNavigationModes Enumeration

Specifies the 2D directional navigation behavior when using different key devices.

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[FlagsAttribute]
public enum XYFocusNavigationModes
View Source

Remarks

See KeyDeviceType.

Members

Disabled0Any key device XY navigation is disabled.
Keyboard1Keyboard arrow keys can be used for 2D directional navigation.
Gamepad2Gamepad controller DPad keys can be used for 2D directional navigation.
Remote4Remote controller DPad keys can be used for 2D directional navigation.
Enabled7All key device XY navigation is disabled.

See Also

Reference

Avalonia.Input Namespace