.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SpreadsheetFont.SchemeStyle Property

Gets or sets the font scheme for the current font.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll


FontSchemeStyles SchemeStyle { get; set; }

Property Value

Type Description

One of the FontSchemeStyles enumeration members.


The SchemeStyle property allows you to use a major or minor font of the current theme specified in the document. Major fonts are usually used for titles and headings, and minor fonts are used for the body text of a worksheet cell. When a document theme is changed, the theme fonts are updated to use the new major and minor fonts specified for the selected theme. For a user-defined font, the SchemeStyle property is FontSchemeStyles.None.

To specify all other font characteristics, use the SpreadsheetFont object properties such as SpreadsheetFont.Color, SpreadsheetFont.Size, SpreadsheetFont.Bold, SpreadsheetFont.Italic, etc. Access this object from the Formatting.Font property.

For examples on how to specify the format for an individual cell and cell range or modify a style, refer to the How to: Format a Cell or Range of Cells or How to: Create or Modify a Style document, respectively.

See Also