Back to Devexpress

LegendBase.Font Property

corelibraries-devexpress-dot-xtracharts-dot-legendbase-0afbf00b.md

latest1.6 KB
Original Source

LegendBase.Font Property

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[Browsable(false)]
public Font Font { get; set; }
vb
<Browsable(False)>
Public Property Font As Font

Property Value

TypeDescription
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.

For more information, refer to Legends.

See Also

TextColor

Legends

LegendBase Class

LegendBase Members

DevExpress.XtraCharts Namespace