Skip to main content

MoveCurrentToFirst Method

Sets the first item in the view as the CurrentItem.

Definition​

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

bool MoveCurrentToFirst()

Return Value​

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

See Also​

Reference​

IDataGridCollectionView Interface
Avalonia.Collections Namespace