Skip to main content

LegendCollection.Remove(Legend) Method

Removes the specified Legend object from the collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

Declaration

public void Remove(
    Legend legend
)

Parameters

Name Type Description
legend Legend

A Legend object to be removed from the collection.

Remarks

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

See Also