Skip to main content

SubtotalCollection.Insert(Int32, Subtotal) Method

Inserts the specified subtotal to the collection at the specified position.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public void Insert(
    int index,
    Subtotal item
)

Parameters

Name Type Description
index Int32

A zero-based integer which specifies the position at which the strip should be inserted. If it’s negative or exceeds the number of elements within the collection, an exception is thrown.

item Subtotal

A Subtotal object that specifies the inserted subtotal.

See Also