Skip to main content

GetControlInDirection Method

Gets the next control in the specified direction.

Definition​

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

Control? GetControlInDirection(
NavigationDirection direction,
Control? from
)
View Source

Parameters​

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

Return Value​

Control
The control.

See Also​

Reference​

ILogicalScrollable Interface
Avalonia.Controls.Primitives Namespace