Represents the style of a cell or a range of cells.
Inheritance Hierarchy
Winnovative.ExcelLibExcelCellStyle
Namespace: Winnovative.ExcelLib
Assembly: wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
The ExcelCellStyle type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Alignment |
Gets the text alignment options for the text in a cell.
|
![]() | Borders |
Gets the an object representing the cell borders collection. Top, left, right and bottom borders can be retrieved individually from the borders collection and customized.
|
![]() | Fill |
Gets an object used to set the fill options of the cell.
|
![]() | Font |
Gets an object used to set the font of the cell.
|
![]() | IsBuiltIn |
Gets a flag indicating if this cell style is a built in style.
|
![]() | Name |
Gets the name of this cell style. The name is assigned when the style is added to the Styles collection of the workbook.
|
![]() | Number |
Gets the number formatting options of the cell.
|
![]() | Protection |
Gets an object used to set the protection options of the cell. The protection options are applied only when the worksheet is protected.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also