[]
        
(Showing Draft Content)

C1.DataCollection.C1CursorDataCollection-2.MoveAsyncOverride

MoveAsyncOverride Method

MoveAsyncOverride(int, int, CancellationToken)

This method is called when an item is moved in the collection.

Declaration
protected virtual Task MoveAsyncOverride(int fromIndex, int toIndex, CancellationToken cancellationToken)
Parameters
Type Name Description
int fromIndex

The original index of the item.

int toIndex

The destination index of the item.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task
Remarks

CanMove(int, int) must return true to enable this method.