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

PointDataCollection.RemoveAt(Int32) Method

Removes an item at the specified position from the collection.

Namespace: DevExpress.WinUI.Charts

Assembly: DevExpress.WinUI.Charts.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

public void RemoveAt(
    int index
)

Parameters

Name Type Description
index Int32

A zero-based index of the point to remove. If it is negative or exceeds the number of items in the collection, an exception is raised.

Remarks

Use the Remove and RemoveAt methods to remove a specified item 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. To clear the collection, call the Clear method.

See Also