Represents the style of a cell or a range of cells.
| C# | Visual Basic | Visual C++ |
public class ExcelCellStyle
Public Class ExcelCellStyle
public ref class ExcelCellStyle
| All Members | Methods | Properties | |||
| Icon | Member | 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.
| |
| Equals(Object) | (Inherited from Object.) | |
| Fill |
Gets an object used to set the fill options of the cell.
| |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Font |
Gets an object used to set the font of the cell.
| |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsBuiltIn |
Gets a flag indicating if this cell style is a built in style.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| 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.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| ExcelCellStyle | |