Open sandboxFocus

Method Move

Move(int, int)

Moved the element at the specified index to another index.

Declaration
public void Move(int oldIndex, int newIndex)
Parameters
Type Name Description
int oldIndex

The old zero-based index of the item to be moved.

int newIndex

The new zero-based index of the item to be moved.