Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GaugeDependencyObjectCollectionBase<T>.RemoveAt(Int32) Method

Removes an item at the specified position from the collection.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v24.2.dll

NuGet Package: DevExpress.Wpf.Gauges

#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 GaugeDependencyObjectCollectionBase<T>.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 GaugeDependencyObjectCollectionBase<T>.Clear method can be used to clear the collection.

See Also