Skip to main content
A newer version of this page is available.
All docs
V20.2

Legend.Dispose() Method

Releases all resources used by the Legend object.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

public void Dispose()

Remarks

Call the Dispose method when you have finished working with a manually created Legend object. This releases all the resources allocated to the object.

See Also