[]
This method is called when an item is moved in the collection.
protected virtual Task MoveAsyncOverride(int fromIndex, int toIndex, CancellationToken cancellationToken)
| Type | Name | Description |
|---|---|---|
| int | fromIndex | The original index of the item. |
| int | toIndex | The destination index of the item. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task |
CanMove(int, int) must return true to enable this method.