Skip to main content

GetControl Method

Gets the next control in the specified direction.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

protected abstract IInputElement? GetControl(
NavigationDirection direction,
IInputElement? from,
bool wrap
)
View Source

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.

See Also

Reference

VirtualizingPanel Class
Avalonia.Controls Namespace