Back to Devexpress

CustomDrawSeriesEventArgsBase.LegendMarkerImage Property

corelibraries-devexpress-dot-xtracharts-dot-customdrawserieseventargsbase-09f2187e.md

latest2.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public Image LegendMarkerImage { get; set; }
vb
Public Property LegendMarkerImage As Image

Property Value

TypeDescription
Image

The image of the legend item marker.

|

Remarks

Important

Use the e.DXLegendMarkerImage instead of LegendMarkerImage to specify an image in non-Windows environments.

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.

See Also

Legend Items

CustomDrawSeriesEventArgsBase Class

CustomDrawSeriesEventArgsBase Members

DevExpress.XtraCharts Namespace