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

CustomDrawSeriesEventArgsBase.LegendFont Property

Gets or sets the text font of the legend item of the series or series point that is currently being painted.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

public Font LegendFont { get; set; }

Property Value

Type Description
Font

The font used to display the legend’s contents.

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.DisposeLegendFont property to true to avoid memory leaks.

See Also