You’re viewing documentation for an outdated product. The Graphics Mill Web Controls library has been removed from Graphics Mill and is now part of the Customers Canvas product line, where it is available as a set of APIs for Design Atoms and as Design Editor.

Collection<T>.Move Method

Moves an item from one position to another.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

C#
public virtual T Move(
	int oldIndex,
	int newIndex
)

Parameters

oldIndex

Type: System..Int32

The zero-based index of the item to move.
newIndex

Type: System..Int32

The zero-based index to move the item to.

Return Value

The item that was moved.

See Also

Reference