KeyboardNavigationMode Enum

Summary

Defines the mode of keyboard traversal within a container when the tab or arrow keys are pressed.
Namespace
Avalonia.Input
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["KeyboardNavigationMode"] class Type type-node

Syntax

public enum KeyboardNavigationMode

Fields

Name Constant Value Summary
Contained 2
Items in the container will be cycled through and focus will stop moving when the edge of the container is reached.
static
Continue 0
Items 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.
static
Cycle 1
Items 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.
static
None 4
The container's children will not be focused when using the tab key.
static
Once 3
When 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.
static

Extension Methods