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

Declaration

public Font LegendFont { get; set; }
Public Property LegendFont As Font

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.

Implements

DevExpress.XtraCharts.Native.ILegendItemOptions.LegendFont
See Also