VirtualizingPanelGetControl Method

Gets the next control in the specified direction.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected abstract IInputElement? GetControl(
	NavigationDirection direction,
	IInputElement? from,
	bool wrap
)

Parameters

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

Return Value

IInputElement
The control.

See Also