Class ConditionalFormatting
Represents a conditional formatting on a group of cells in a sheet.
Inheritance
System.Object
ConditionalFormatting
Namespace: DRIT.Spreadsheet.ConditionalFormatting
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ConditionalFormatting : object
Properties
Pivot
Get or set whether the conditional formatting applies to a pivot table. This is false by default.
Declaration
public bool Pivot { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Range
Get or set the range where the conditional formatting should be applied.
Declaration
public Range Range { get; set; }
Property Value
Type | Description |
---|---|
Range |
Rules
Get the collection of conditional formatting rules.
Declaration
public ConditionalFormattingRuleCollection Rules { get; }
Property Value
Type | Description |
---|---|
ConditionalFormattingRuleCollection |
Methods
CellValue()
Declaration
public CellIsFormattingRule CellValue()
Returns
Type | Description |
---|---|
CellIsFormattingRule |