Table of Contents

Class CellStyle

Namespace
SheetStream.Styles
Assembly
SheetStream.dll

A registered cell style. Obtain instances from Create(Action<StyleOptions>) and pass them to the cell-writing methods. Instances are immutable and cheap to share.

public sealed class CellStyle
Inheritance
CellStyle
Inherited Members

Properties

Id

Zero-based index into the workbook's cellXfs collection. Index 0 is the default style.

public int Id { get; }

Property Value

int

IsDefault

True for the workbook's default style, which is never written as an attribute.

public bool IsDefault { get; }

Property Value

bool

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.