Enum BuiltInCellStyleType
Represents the built-in cell styles available in the Excel "Home > Cell Styles" gallery.
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public enum BuiltInCellStyleType
Remarks
Excel UI: "Home > Cell Styles" gallery. The member names match the
Excel UI labels (e.g. Bad, Good, Heading1, Title).
Use workbook.StyleSheet[BuiltInCellStyleType.Heading1] to retrieve
or create the named cell style.
Fields
| Name | Description |
|---|---|
| Accent1 | The "Accent1" cell style. |
| Accent2 | The "Accent2" cell style. |
| Accent3 | The "Accent3" cell style. |
| Accent4 | The "Accent4" cell style. |
| Accent5 | The "Accent5" cell style. |
| Accent6 | The "Accent6" cell style. |
| Bad | The "Bad" cell style (red text on light red fill). |
| Calculation | The "Calculation" cell style. |
| CheckCell | The "Check Cell" cell style. |
| Comma | The "Comma" cell style. |
| Comma0 | The "Comma [0]" cell style. |
| Currency | The "Currency" cell style. |
| Currency0 | The "Currency [0]" cell style. |
| ExplanatoryText | The "Explanatory Text" cell style. |
| FollowedHyperlink | The "Followed Hyperlink" cell style. |
| Good | The "Good" cell style (green text on light green fill). |
| Heading1 | The "Heading 1" cell style. |
| Heading2 | The "Heading 2" cell style. |
| Heading3 | The "Heading 3" cell style. |
| Heading4 | The "Heading 4" cell style. |
| Hyperlink | The "Hyperlink" cell style. |
| Input | The "Input" cell style. |
| LinkedCell | The "Linked Cell" cell style. |
| Neutral | The "Neutral" cell style (amber text on light amber fill). |
| Normal | The default "Normal" style. |
| Note | The "Note" cell style. |
| Output | The "Output" cell style. |
| Percent | The "Percent" cell style. |
| Percent20Accent1 | The "20% - Accent1" cell style. |
| Percent20Accent2 | The "20% - Accent2" cell style. |
| Percent20Accent3 | The "20% - Accent3" cell style. |
| Percent20Accent4 | The "20% - Accent4" cell style. |
| Percent20Accent5 | The "20% - Accent5" cell style. |
| Percent20Accent6 | The "20% - Accent6" cell style. |
| Percent40Accent1 | The "40% - Accent1" cell style. |
| Percent40Accent2 | The "40% - Accent2" cell style. |
| Percent40Accent3 | The "40% - Accent3" cell style. |
| Percent40Accent4 | The "40% - Accent4" cell style. |
| Percent40Accent5 | The "40% - Accent5" cell style. |
| Percent40Accent6 | The "40% - Accent6" cell style. |
| Percent60Accent1 | The "60% - Accent1" cell style. |
| Percent60Accent2 | The "60% - Accent2" cell style. |
| Percent60Accent3 | The "60% - Accent3" cell style. |
| Percent60Accent4 | The "60% - Accent4" cell style. |
| Percent60Accent5 | The "60% - Accent5" cell style. |
| Percent60Accent6 | The "60% - Accent6" cell style. |
| Title | The "Title" cell style. |
| Total | The "Total" cell style. |
| WarningText | The "Warning Text" cell style. |