This documentation is for the old version. Go to the latest Graphics Mill docs

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

Visual Basic
Public Overridable Function Move ( _
	oldIndex As Integer, _
	newIndex As Integer _
) As T
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