The following tables list the members exposed by CellStyle.
Name | Description | |
---|---|---|
![]() |
Equals | Overrides Objects.Equals. |
![]() |
GetCellBorder | Retrieves the border style of a specific side of a cell within a sheet. Useful to access the styling details of cell borders, such as thickness and color. |
![]() |
GetDataFormatString | Retrieves the data formatting string applied to a cell's content within a sheet.Enables access to the format specification, which dictates how the cell's data is visually represented. |
![]() |
SetCellBorder | Sets the cell border style to a specified border with a customized type. |
![]() |
SetDataFormatString | Applies a specific data format string to the cell's content that allows for the customization of how numeric values, dates, and other data types are displayed within a cell. |
Name | Description | |
---|---|---|
![]() |
BackgroundColor | Gets or sets the background color of a cell within a sheet. |
![]() |
Font | Gets or sets the font styling of a cell's content within a sheet. |
![]() |
HorizontalAlignment | Gets or sets the horizontal alignment of the cell's content within a sheet to determine the positioning of its content along the horizontal axis within the boundaries. |
![]() |
VerticalAlignment | Gets or sets the vertical alignment of the cell's content to determine the positioning of its content along the vertical axis within the boundaries. |
![]() |
WrapText | Gets or sets the text wrapping behavior within the cell to allow control on text exceeding the cell's width. |