Skip to main content

CustomLegendItemCollection.Remove(CustomLegendItem) Method

Removes the specified CustomLegendItem object from the collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public void Remove(
    CustomLegendItem customLegendItem
)

Parameters

Name Type Description
customLegendItem CustomLegendItem

A CustomLegendItem object to be removed from the collection.

Remarks

Note that calling the Remove method also disposes all elements removed from the collection.

See Also