A newer version of this page is available. Switch to the current version.

CustomLegendItemCollection.Add(CustomLegendItem) Method

Appends the specified CustomLegendItem object to the current collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

public int Add(
    CustomLegendItem customLegendItem
)

Parameters

Name Type Description
customLegendItem CustomLegendItem

A CustomLegendItem object to append to the collection.

Returns

Type Description
Int32

An integer value indicating the position at which the new element was inserted.

Remarks

This method adds a CustomLegendItem object to the end of the collection.

See Also