Class StyleSheetCellStyle
Represents a cell style stored in the workbook's style sheet.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class StyleSheetCellStyle : CellStyle
Remarks
A StyleSheetCellStyle is a CellStyle that is managed by the
workbook's style sheet and can be referenced by name. Built-in styles like "Normal"
and "Heading 1" are implemented as StyleSheetCellStyle instances.
Properties
Alignment
Specifies the alignment settings for this style.
Declaration
public override CellAlignment Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| CellAlignment |
Overrides
Remarks
A StyleSheetCellStyle is a CellStyle that is managed by the
workbook's style sheet and can be referenced by name. Built-in styles like "Normal"
and "Heading 1" are implemented as StyleSheetCellStyle instances.
Borders
Specifies the border formatting for this cell style.
Declaration
public override AbstractBorders Borders { get; set; }
Property Value
| Type | Description |
|---|---|
| AbstractBorders |
Overrides
Remarks
A StyleSheetCellStyle is a CellStyle that is managed by the
workbook's style sheet and can be referenced by name. Built-in styles like "Normal"
and "Heading 1" are implemented as StyleSheetCellStyle instances.
Fill
Specifies the fill formatting for this cell style.
Declaration
public override CellFill Fill { get; set; }
Property Value
| Type | Description |
|---|---|
| CellFill |
Overrides
Remarks
A StyleSheetCellStyle is a CellStyle that is managed by the
workbook's style sheet and can be referenced by name. Built-in styles like "Normal"
and "Heading 1" are implemented as StyleSheetCellStyle instances.
Font
Specifies the font formatting for this cell style.
Declaration
public override AbstractFont Font { get; set; }
Property Value
| Type | Description |
|---|---|
| AbstractFont |
Overrides
Remarks
A StyleSheetCellStyle is a CellStyle that is managed by the
workbook's style sheet and can be referenced by name. Built-in styles like "Normal"
and "Heading 1" are implemented as StyleSheetCellStyle instances.
Format
Gets the number format for this cell style.
Declaration
public override Format Format { get; }
Property Value
| Type | Description |
|---|---|
| Format |
Overrides
Remarks
A StyleSheetCellStyle is a CellStyle that is managed by the
workbook's style sheet and can be referenced by name. Built-in styles like "Normal"
and "Heading 1" are implemented as StyleSheetCellStyle instances.
Methods
Equals(StyleSheetCellStyle)
Exposes the equals associated with StyleSheetCellStyle.
Declaration
protected bool Equals(StyleSheetCellStyle other)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleSheetCellStyle | other | The other used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The equals returned by the operation. |
Remarks
A StyleSheetCellStyle is a CellStyle that is managed by the
workbook's style sheet and can be referenced by name. Built-in styles like "Normal"
and "Heading 1" are implemented as StyleSheetCellStyle instances.
Equals(object)
Exposes the equals associated with StyleSheetCellStyle.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The obj used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The equals returned by the operation. |
Overrides
Remarks
A StyleSheetCellStyle is a CellStyle that is managed by the
workbook's style sheet and can be referenced by name. Built-in styles like "Normal"
and "Heading 1" are implemented as StyleSheetCellStyle instances.
GetHashCode()
Retrieves the requested hash code from the StyleSheetCellStyle.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The get hash code returned by the operation. |
Overrides
Remarks
A StyleSheetCellStyle is a CellStyle that is managed by the
workbook's style sheet and can be referenced by name. Built-in styles like "Normal"
and "Heading 1" are implemented as StyleSheetCellStyle instances.