DataGrid.

ScrollIntoView(object, DataGridColumn) Method

Summary

Scrolls the specified item or RowGroupHeader and/or column into view. If item is not null: scrolls the row representing the item into view; If column is not null: scrolls the column into view; If both item and column are null, the method returns without scrolling.
Namespace
Avalonia.Controls
Containing Type
DataGrid

Syntax

public void ScrollIntoView(object item, DataGridColumn column)

Parameters

Name Type Description
item object an item from the DataGrid's items source or a CollectionViewGroup from the collection view
column DataGridColumn a column from the DataGrid's columns collection

Return Value

Type Description
void