Skip to main content

Collection.Move(Int32, Int32) Method

Moves the item to another position within the list.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public virtual void Move(
    int fromIndex,
    int toIndex
)

Parameters

Name Type Description
fromIndex Int32

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

toIndex Int32

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

Remarks

If at least one of the parameter values is either negative or greater than the last available index, the Move method performs nothing.

See Also