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.v21.1.dll


public Font LegendFont { get; set; }

Property Value

Type Description

The font used to display the legend’s contents.


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