KeyboardNavigationHandler.

GetNext(IInputElement, NavigationDirection) Method

Summary

Gets the next control in the specified navigation direction.
Namespace
Avalonia.Input
Containing Type
KeyboardNavigationHandler

Syntax

public static IInputElement GetNext(IInputElement element, NavigationDirection direction)

Parameters

Name Type Description
element IInputElement The element.
direction NavigationDirection The navigation direction.

Return Value

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