DataGridView.MoveRow(Int32, Int32, Action) Method
In This Article
Moves the row with the specified index to the specified position within the DataGridView with the specified action.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
#Declaration
C#
public void MoveRow(
int fromRowHandle,
int toRowHandle,
Action completion = null
)
#Parameters
Name | Type | Description |
---|---|---|
from |
Int32 | The current index of the row. |
to |
Int32 | The new index of the row. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
completion | Action | null | The action that is executed when the row is moved. |
See Also