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)
- C#
- VB
- F#
bool MoveCurrentToPosition(
int position
)
Function MoveCurrentToPosition (
position As Integer
) As Boolean
abstract MoveCurrentToPosition :
position : int -> bool
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