Class ConditionalFormattingRule
Represents the base type for conditional formatting rule.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class ConditionalFormattingRule
Constructors
ConditionalFormattingRule()
Declaration
protected ConditionalFormattingRule()
Methods
AutoFail(ICellValue)
Represents an auto-fail during rule reolution.
Declaration
protected static double AutoFail(ICellValue value)
Parameters
ICellValue
value
Does not serve any purpose |
Returns
System.Double
0d |
AutoSuccess(ICellValue)
Represents an auto-succeed during rule reolution.
Declaration
protected static double AutoSuccess(ICellValue value)
Parameters
ICellValue
value
Does not serve any purpose |
Returns
System.Double
1d |
Resolve(ICellValue)
Represets the rule's main resolve method.
Declaration
protected virtual double Resolve(ICellValue value)
Parameters
ICellValue
value
The cell value that is resolved by the rule |
Returns
System.Double
|
SwapPriority(ConditionalFormattingRule)
Swaps the priority of the current rule and the given one.
Declaration
public void SwapPriority(ConditionalFormattingRule rule)
Parameters
ConditionalFormattingRule
rule
|