Skip to main content

GaugeDependencyObjectCollectionBase<T>.Move(Int32, Int32) Method

Moves a specific item to another position within the collection.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v23.2.dll

NuGet Package: DevExpress.Wpf.Gauges

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.

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