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

Namespace: DigitalRune.Collections
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
protected virtual 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 implementation raises the CollectionChanged event. Subclasses can override this protected method to provide custom behavior for the Move(Int32, Int32) method.

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