INavigableContainer.

GetControl(NavigationDirection, IInputElement, bool) Method

Summary

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

Syntax

IInputElement GetControl(NavigationDirection direction, IInputElement from, bool wrap)

Parameters

Name Type Description
direction NavigationDirection The movement direction.
from IInputElement The control from which movement begins.
wrap bool Whether to wrap around when the first or last item is reached.

Return Value

Type Description
IInputElement The control.