Skip to main content

GaugeDependencyObjectCollectionBase<T>.Insert(Int32, T) Method

Adds the specified item to the collection at the specified position.

Namespace: DevExpress.Xpf.Gauges

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

NuGet Package: DevExpress.Wpf.Gauges

Declaration

public void Insert(
    int index,
    T item
)

Parameters

Name Type Description
index Int32

A zero-based integer which specifies the position at which the item is to be inserted.

item T

An item to insert into the collection.

Remarks

The Insert method allows you to insert an item at a specific position. Elements that follow the insertion point are moved down to accommodate the new element.

If the index parameter is equal to or greater than the number of elements in the collection, the new element is appended to the end.

See Also