Skip to main content

GetControlInDirection Method

Gets the next control in the specified direction.

Definition

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

protected virtual IInputElement? GetControlInDirection(
NavigationDirection direction,
Control? from
)

Parameters

  NavigationDirection
The movement direction.
  Control
The control from which movement begins.

Return Value

IInputElement
The control.

See Also

Reference

StackPanel Class
Avalonia.Controls Namespace