Skip to main content

GetNext Method

Gets the next control in the specified navigation direction.

Definition​

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

public static IInputElement? GetNext(
IInputElement element,
NavigationDirection direction
)

Parameters​

  IInputElement
The element.
  NavigationDirection
The navigation direction.

Return Value​

IInputElement
The next element in the specified direction, or null if element was the last in the requested direction.

See Also​

Reference​

KeyboardNavigationHandler Class
Avalonia.Input Namespace