Skip to main content
Tab

Collection.Move(Int32, Int32) Method

Moves a specific collection item to another position within the list.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public void Move(
    int oldIndex,
    int newIndex
)

Parameters

Name Type Description
oldIndex Int32

An integer value specifying the zero-based index of an item to be moved.

newIndex Int32

An integer value specifying the zero-based destination index of the moved item.

See Also