Collection.Move(Int32, Int32) Method

Moves the item to another position within the list.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v21.2.dll

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