Skip to main content

DataPointCollection.RemoveAt(Int32) Method

Removes an item at the specified position from the collection.

Namespace: DevExpress.UI.Xaml.Charts

Assembly: DevExpress.UI.Xaml.Charts.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public void RemoveAt(
    int index
)

Parameters

Name Type Description
index Int32

A zero-based integer specifying the index of the object to remove. If it’s negative or exceeds the number of elements, an exception is raised.

Remarks

Use the DataPointCollection.Remove and RemoveAt methods to remove specified items from the collection. All items that follow that item are then moved up to fill the vacant position. The indexes of the moved items are also updated. The DataPointCollection.Clear method can be used to clear the collection.

See Also