Skip to main content
A newer version of this page is available. .

CustomLegendItemCollection.Remove(CustomLegendItem) Method

Removes the specified CustomLegendItem object from the collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.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