Skip to main content

MoveCurrentToPosition Method

Move CurrentItem to this index

Definition​

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

public bool MoveCurrentToPosition(
int position
)

Parameters​

  Int32
Position we want to move the currency to

Return Value​

Boolean
True if the resulting CurrentItem is an item within the view; otherwise False

Implements​

IDataGridCollectionView.MoveCurrentToPosition(Int32)

See Also​

Reference​

DataGridCollectionView Class
Avalonia.Collections Namespace