Skip to main content

ChartCollectionBaseModel.Swap(Int32, Int32) Method

Swaps items with the specified indeces within the collection.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v24.1.Wizard.dll

NuGet Package: DevExpress.Win.Charts

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