NavigationDirection Enum

Summary

Describes how focus should be moved by directional or tab keys.
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["NavigationDirection"] class Type type-node

Syntax

public enum NavigationDirection

Fields

Name Constant Value Summary
Down 7
Move the focus down.
static
First 2
Move the focus to the first control in the tab order.
static
Last 3
Move the focus to the last control in the tab order.
static
Left 4
Move the focus to the left.
static
Next 0
Move the focus to the next control in the tab order.
static
PageDown 9
Move the focus down a page.
static
PageUp 8
Move the focus up a page.
static
Previous 1
Move the focus to the previous control in the tab order.
static
Right 5
Move the focus to the right.
static
Up 6
Move the focus up.
static

Extension Methods

Name Value Summary
IsDirectional() bool
Checks whether a NavigationDirection represents a directional movement.
IsTab() bool
Checks whether a NavigationDirection represents a tab movement.