This class encapsulates a list of conditional formats for a range of cells.
Syntax
Unit: FlexCel.Core
TConditionalFormat = record;
Methods
Name |
Description |
Create |
Creates a new conditional format.
|
CheckIsValid |
Checks if the format is valid. This check will be applied automatically when you try to add a conditional format to a sheet, so there is no need to call this method directly. But you can use it to know if a conditional format will be rejected when you try to add it.
|
Equals |
Returns true if both conditional formats are the same.
|
GetHashCode |
Returns the hashcode of the object |
Operators
Name |
Description |
Equality |
Adapts the = operator so it returns true when both instances have the same values. |
Inequality |
Adapts the <> operator so it returns true when both instances have different values. |
Properties
Name |
Description |
Rules |
List of rules that will be applied to the cells.
|
Ranges |
List of cell ranges where this conditional format applies.
|
IsPivot |
If true, then this is a conditional format for a pivot table.
|