Table of Contents

Property Format

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

Format

Gets or sets the format the rule applies: a copy, so change it and set it back. Null for a colour scale, a data bar and an icon set, which draw instead. Setting one adds a new differential format to the style part.

public XlsxDifferentialStyle? Format { get; set; }

Property Value

XlsxDifferentialStyle

Exceptions

ArgumentException

The value set sets nothing.

InvalidOperationException

The rule is no longer on the sheet, or is a colour scale, a data bar or an icon set.