Skip to main content

KeyboardNavigationMode Enumeration

Defines the mode of keyboard traversal within a container when the tab or arrow keys are pressed.

Definition

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

public enum KeyboardNavigationMode
View Source

Members

Continue0Items in the container will be cycled through, and focus will be moved to the previous/next container after the first/last control in the container.
Cycle1Items in the container will be cycled through, and moving past the first or last control in the container will cause the last/first control to be focused.
Contained2Items in the container will be cycled through and focus will stop moving when the edge of the container is reached.
Once3When focus is moved into the container, the control described by the TabOnceActiveElementProperty attached property on the container will be focused. When focus moves away from this control, focus will move to the previous/next container.
None4The container's children will not be focused when using the tab key.
Local5TabIndexes are considered on local subtree only inside this container

See Also

Reference

Avalonia.Input Namespace