• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class StyleSheetCellStyle

Represents a cell style stored in the workbook's style sheet.

Inheritance
object
CellStyle
StyleSheetCellStyle
Inherited Members
CellStyle.IsBuiltIn
CellStyle.Name
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
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
CellStyle.Alignment
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
CellStyle.Borders
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
CellStyle.Fill
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
CellStyle.Font
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
CellStyle.Format
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
object.Equals(object)
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
object.GetHashCode()
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.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX