Legend.Font Property
Provides access to font settings for the legend entries.
Namespace: DevExpress.Spreadsheet.Charts
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
ShapeTextFont Font { get; }
#Property Value
Type | Description |
---|---|
Shape |
A Shape |
#Remarks
The Font
property specifies font settings for all legend entries. To change settings for a specific entry, use the Legend.CustomEntries property to add an entry to be modified at a specific index and change its LegendEntry.Font settings.
Note
The SpreadsheetLegend
property. The font specified by the Legend.
property is applied to all entries. However, the Legend
property can be retrieved in code, exported in supported formats, and visualized in Microsoft Excel.
If the Legend.Font
property is not specified, but one or multiple of the legend entry has the Font
property specified, the font is retrieved from the first entry in the collection.