Click or drag to resize
DigitalRuneUIScreenCollectionMoveItem Method
Moves the item at the specified index to a new location in the collection.

Namespace: DigitalRune.Game.UI
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
protected override void MoveItem(
	int oldIndex,
	int newIndex
)

Parameters

oldIndex
Type: SystemInt32
The zero-based index specifying the location of the item to be moved.
newIndex
Type: SystemInt32
The zero-based index specifying the new location of the item.
Remarks

This method is called by Move(Int32, Int32). The range of oldIndex and newIndex is checked in Move(Int32, Int32) before this method is called.

See Also