Skip to main content

CustomLegendItemCollection.Add(CustomLegendItem) Method

Appends the specified CustomLegendItem object to the current collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Add(CustomLegendItem) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also