ConstantLineCollection.Insert(Int32, ConstantLine) Method

Inserts the specified constant line to the collection at the specified position.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


public void Insert(
    int index,
    ConstantLine constantLine
Public Sub Insert(
    index As Integer,
    constantLine As ConstantLine


Name Type Description
index Int32

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

constantLine ConstantLine

A ConstantLine object specifying the inserted line.

See Also