MoveItem(TItem, int, int)
Moves the element at the specified index to another index in the underlying collection.
Declaration
protected override void MoveItem(TItem item, int oldIndex, int newIndex)
Parameters
Type | Name | Description |
---|---|---|
TItem | item | The element to be moved. |
int | oldIndex | The old zero-based index of |
int | newIndex | The new zero-based index of |
Overrides
Remarks
Some redundancy is created by requiring both item
and oldIndex
: this is intentional, for performance reasons.