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

LegendCollection.Remove(Legend) Method

Removes the specified Legend object from the collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

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