Skip to main content
All docs
V23.2

LegendBase.Font Property

Gets or sets the font used to display the legend’s content.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

[Browsable(false)]
public Font Font { get; set; }

Property Value

Type Description
Font

A Font object that specifies the font used to display the legend’s contents.

Remarks

Important

Use the DXFont property instead of Font to specify the font used to display the legend’s content.

The following image demonstrates the Font property in action.

LegendText

For more information, refer to Legends.

See Also