GetControl Method
Gets the next control in the specified direction.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
protected abstract IInputElement? GetControl(
NavigationDirection direction,
IInputElement? from,
bool wrap
)
Protected MustOverride Function GetControl (
direction As NavigationDirection,
from As IInputElement,
wrap As Boolean
) As IInputElement
abstract GetControl :
direction : NavigationDirection *
from : IInputElement *
wrap : bool -> IInputElement
Parameters
- NavigationDirection
- The movement direction.
- IInputElement
- The control from which movement begins.
- Boolean
- Whether to wrap around when the first or last item is reached.
Return Value
IInputElement
The control.