Back to Devexpress

SeriesPointCollection.Move(Int32, Int32) Method

corelibraries-devexpress-dot-xtracharts-dot-seriespointcollection-dot-move-x28-system-dot-int32-system-dot-int32-x29.md

latest1.5 KB
Original Source

SeriesPointCollection.Move(Int32, Int32) Method

Moves a specific item to another position within the collection.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public void Move(
    int oldIndex,
    int newIndex
)
vb
Public Sub Move(
    oldIndex As Integer,
    newIndex As Integer
)

Parameters

NameTypeDescription
oldIndexInt32

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

SeriesPointCollection Class

SeriesPointCollection Members

DevExpress.XtraCharts Namespace