Skip to main content
A newer version of this page is available. .

ChartCollectionBaseModel.Swap(Int32, Int32) Method

Swaps items with the specified indeces within the collection.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v19.2.Wizard.dll

Declaration

public void Swap(
    int oldIndex,
    int newIndex
)

Parameters

Name Type Description
oldIndex Int32

The old item index.

newIndex Int32

The new item index.

See Also