Skip to main content

ScrollIntoView Method

Scrolls the specified item into view.

Definition

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

protected abstract Control? ScrollIntoView(
int index
)
View Source

Parameters

  Int32
The index of the item.

Return Value

Control
The element with the specified index, or null if the element could not be brought into view.

See Also

Reference

VirtualizingPanel Class
Avalonia.Controls Namespace