Skip to main content

MoveCurrentToPosition Method

Sets the item at the specified index to be the CurrentItem in the view.

Definition

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

bool MoveCurrentToPosition(
int position
)
View Source

Parameters

  Int32
The index to set the CurrentItem to.

Return Value

Boolean
true if the resulting CurrentItem is an item in the view; otherwise, false.

See Also

Reference

IDataGridCollectionView Interface
Avalonia.Collections Namespace