Table of Contents

Class XlsxDifferentialStyle

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

A differential format (Phase 202): what a conditional format changes about a cell's look, and nothing else. Every property is null unless the format sets it, as Excel's dxf records are.

public sealed class XlsxDifferentialStyle
Inheritance
XlsxDifferentialStyle
Inherited Members

Constructors

XlsxDifferentialStyle()

Properties

BackgroundColor

Gets or sets the fill colour; null leaves the cell's.

Bold

Gets or sets whether the text is bold; null leaves the cell's.

BottomBorder

Gets or sets the bottom edge; null leaves the cell's.

FontColor

Gets or sets the text colour; null leaves the cell's.

IsEmpty

Gets whether the format sets nothing.

Italic

Gets or sets whether the text is italic; null leaves the cell's.

LeftBorder

Gets or sets the left edge; null leaves the cell's.

NumberFormat

Gets or sets the number format code; null leaves the cell's.

RightBorder

Gets or sets the right edge; null leaves the cell's.

Strike

Gets or sets whether the text is struck through; null leaves the cell's.

TopBorder

Gets or sets the top edge; null leaves the cell's.

Underline

Gets or sets whether the text is underlined; null leaves the cell's.

Methods

ApplyTo(XlsxCellStyle)

Returns a cell's style with what this format sets laid over it.