CustomLegendItemCollection.Add(CustomLegendItem) Method

Appends the specified CustomLegendItem object to the current collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

public int Add(
    CustomLegendItem customLegendItem
)
Public Function Add(
    customLegendItem As CustomLegendItem
) As Integer

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