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

CustomDrawSeriesEventArgsBase.LegendMarkerImage Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

public Image LegendMarkerImage { 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 (ChartControl.CustomDrawSeriesPoint) event and should be disposed after chart drawing, set the CustomDrawSeriesEventArgsBase.DisposeLegendMarkerImage property to true to avoid memory leaks.

The following code snippets (auto-collected from DevExpress Examples) contain references to the LegendMarkerImage property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also