ScrollIntoView Method
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.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
public void ScrollIntoView(
Object item,
DataGridColumn column
)
Public Sub ScrollIntoView (
item As Object,
column As DataGridColumn
)
member ScrollIntoView :
item : Object *
column : DataGridColumn -> unit
Parameters
- Object
- an item from the DataGrid's items source or a CollectionViewGroup from the collection view
- DataGridColumn
- a column from the DataGrid's columns collection