[]
This method is called when an item is moved in the collection.
protected virtual Task MoveAsyncOverride(int fromIndex, int toIndex, CancellationToken cancellationToken)
Protected Overridable Function MoveAsyncOverride(fromIndex As Integer, toIndex As Integer, cancellationToken As CancellationToken) As Task
| 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.