Class ConditionalFormatting
Represents a conditional formatting on a group of cells in a sheet.
Inherited Members
Namespace: DRIT.Spreadsheet.ConditionalFormatting
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ConditionalFormatting
Constructors
ConditionalFormatting()
Represents a conditional formatting on a group of cells in a sheet.
Declaration
public ConditionalFormatting()
Properties
Pivot
Gets or sets whether the conditional formatting applies to a pivot table.
Declaration
public bool Pivot { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Range
Specifies 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()
Creates a new cell value formatting rule and adds it to the rules collection.
Declaration
public CellIsFormattingRule CellValue()
Returns
| Type | Description |
|---|---|
| CellIsFormattingRule | A new CellIsFormattingRule instance. |