Skip to main content

Move Method

Moves the focus in the specified direction.

Definition​

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

void Move(
IInputElement element,
NavigationDirection direction,
KeyModifiers keyModifiers = KeyModifiers.None
)
View Source

Parameters​

  IInputElement
The current element.
  NavigationDirection
The direction to move.
  KeyModifiers  (Optional)
Any key modifiers active at the time of focus.

See Also​

Reference​

IKeyboardNavigationHandler Interface
Avalonia.Input Namespace