TConditionalFormatRule Class
A rule specifying a conditional format. You cannot create instances of this class, only of their children.
Syntax
Namespace: FlexCel.Core
public abstract class TConditionalFormatRule
Constructors
Name | Description |
---|---|
TConditionalFormatRule | Creates a new instance of TConditionalFormatRule, with the corresponding Format definition. |
Methods
Name | Description |
---|---|
Equals | Returns true if this object is equal to obj. |
GetHashCode | Returns the hashcode for this object. |
Clone | Returns a deep copy of the object. |
CheckIsValid | Checks if the rule 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. |
Properties
Name | Description |
---|---|
Kind | Defines which kind of conditional rule this object contains. FormatDef will contain a subclass that must match the kind here. |
Priority | Priority for the rule. 1 means highest priority and higher number mean that the rule will be evaluated later. Note that priorities of all conditional rules must be unique on the sheet. If you specify a duplicated priority, all other priorities might be shifted when you save the file so they keep being unique. |
StopIfTrue | When true, rules after this one will not evaluate if this one applies. Only Applies to Excel 2007 or newer, and it doesn't apply to DataBars, IconSets or ColorScales. |