Enum FontStyle
Specifies the font style to apply to text in spreadsheet cells.
Namespace: Syncfusion.Blazor.Spreadsheet
Assembly: Syncfusion.Blazor.Spreadsheet.dll
Syntax
public enum FontStyle
Remarks
This enumeration is used with FontStyle to determine how text is rendered within cells. Font styles provide visual emphasis and differentiation to cell content.
- Normal - Displays text using the default, upright font style (no slant). This is the default style.
- Italic - Displays text in an italicized, slanted style for emphasis or differentiation.
Font style changes do not affect font weight (bold), text decoration (underline), or other formatting attributes. These can be controlled independently through other properties in CellFormat.
Fields
| Name | Description |
|---|---|
| Italic | Displays text in an italicized style for emphasis. |
| Normal | Displays text using the default, Normal font style. |