Skip to main content

TdxSpreadSheetCustomFont.Style Property

Specifies whether the bold, italic, underline, and/or strikeout attributes are applied to the font.

Declaration

property Style: TFontStyles read; write;

Property Value

Type
TFontStyles

Remarks

Use this property to customize the font by adding one or more special attributes listed in the following table:

Icon Value Description
Bold Example fsBold The font is boldfaced. To apply/remove this font attribute to/from the current cell selection, an end-user can press the Ctrl+2 or Ctrl+B key combination. You can provide an additional end-user option by linking the ToggleFontBold command to an element of your UI.
Italic Example fsItalic The font is italicized. To apply/remove this font attribute to/from the current cell selection, an end-user can press the Ctrl+3 or Ctrl+I key combination. You can provide an additional end-user option by linking the ToggleFontItalic command to an element of your UI.
Underline Example fsUndeline The font is underlined. To apply/remove this font attribute to/from the current cell selection, an end-user can press the Ctrl+4 or Ctrl+U key combination. You can provide an additional end-user option by linking the ToggleFontUnderline command to an element of your UI.
Strikeout Example fsStrikeOut The font is displayed with a horizontal line drawn across its characters. To apply/remove this font attribute to/from the current cell selection, an end-user can press the Ctrl+5 key combination. You can provide an additional end-user option by linking the ToggleFontStrikeout command to an element of your UI.
See Also