Skip to main content

CustomDrawSeriesEventArgs.LegendCheckBoxImage Property

Gets or sets the image of the legend item check box of the series or series point that is currently being painted.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public Image LegendCheckBoxImage { get; set; }

Property Value

Type Description
Image

The image of the legend item marker.

Remarks

If the image specified for this property is generated in the ChartControl.CustomDrawSeries event and should be disposed after chart drawing, set the CustomDrawSeriesEventArgsBase.DisposeLegendMarkerImage property to true to avoid memory leaks.

Important

Use the e.LegendCheckBoxDXImage instead of LegendCheckBoxImage to specify an image for .NET 7 or on non-Windows environments.

See Also