NanoXLSX Library Documentation
![]() | StyleBasicStyles Class |
Factory class with the most important predefined styles

Namespace: NanoXLSX.Style
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)

C#
public static class BasicStyles
The StyleBasicStyles type exposes the following members.

Name | Description | |
---|---|---|
![]() ![]() | Bold | Gets the bold style |
![]() ![]() | BoldItalic | Gets the bold and italic style |
![]() ![]() | BorderFrame | Gets the border frame style |
![]() ![]() | BorderFrameHeader | Gets the border style for header cells |
![]() ![]() | DateFormat | Gets the date format style |
![]() ![]() | DottedFill_0_125 | Gets the special pattern fill style (for compatibility) |
![]() ![]() | DoubleUnderline | Gets the double underline style |
![]() ![]() | Italic | Gets the italic style |
![]() ![]() | MergeCellStyle | Gets the style used when merging cells |
![]() ![]() | RoundFormat | Gets the round format style |
![]() ![]() | Strike | Gets the strike style |
![]() ![]() | Underline | Gets the underline style |

Name | Description | |
---|---|---|
![]() ![]() | ColorizedBackground |
Gets a style to colorize the background of a cell
|
![]() ![]() | ColorizedText |
Gets a style to colorize the text of a cell
|
![]() ![]() | Font |
Gets a style with a user defined font
|
![]() ![]() | GetStyle |
Method to maintain the styles and to create singleton instances
|
