IndicatorCollection.Swap(Indicator, Indicator) Method
In This Article
Swaps the two items with the specified indexes in the collection.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
indicator1 | Indicator | An integer value which specifies the index of the first item to swap in the collection. Note that if the index is less than 0, or more than the Count value, a Argument |
indicator2 | Indicator | An integer value which specifies the index of the second item to swap in the collection. Note that if the index is less than 0, or more than the Count value, a Argument |
#Remarks
Use this method to quickly swap the values of two collection items with each other.
See Also