DXCollectionView.MoveItem(Int32, Int32, Action, Boolean) Method
Moves the item with the specified index to the specified position within the DXCollectionView with the specified action and animation.
Namespace: DevExpress.Maui.CollectionView
Assembly: DevExpress.Maui.CollectionView.dll
NuGet Package: DevExpress.Maui.CollectionView
Declaration
public void MoveItem(
int fromItemHandle,
int toItemHandle,
Action completion,
bool animate = true
)
Parameters
Name | Type | Description |
---|---|---|
fromItemHandle | Int32 | The current index of the item. |
toItemHandle | Int32 | The new index of the item. |
completion | Action | The action that executes when the item is moved. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
animate | Boolean | True | The animation that is displayed when the item is moved. |
See Also