IDataGridCollectionViewMoveCurrentToPosition 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) Version: 11.3.999
bool MoveCurrentToPosition(
	int position
)

Parameters

position  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