Skip to main content
A newer version of this page is available. .
Row

SpreadsheetFont.SchemeStyle Property

Gets or sets the font scheme for the current font.

Namespace: DevExpress.Spreadsheet

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

Declaration

FontSchemeStyles SchemeStyle { get; set; }

Property Value

Type Description
FontSchemeStyles

One of the FontSchemeStyles enumeration members.

Available values:

Name Description
None

Specifies that the given font is not a theme font.

Minor

Specifies the minor font of the document theme.

Major

Specifies the major font of the document theme.

Remarks

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