ClassGreaterThanRule
Conditional formatting rule that applies formatting when a cell value is greater than a specified argument value.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class GreaterThanRule : SingleArgumentComparisonRule
Inheritance: objectConditionalFormattingRuleConditionalFormattingDxfRuleSingleArgumentConditionalFormattingRuleSingleArgumentComparisonRuleGreaterThanRule
Inherited Members
Constructors
GreaterThanRule(string)
Initializes a new GreaterThanRule with the comparison argument.
Declaration
[Obsolete("This constructor is obsoleted, please use the one with formatting parameter instead.")]
public GreaterThanRule(string argument)
Parameters
argument
GreaterThanRule(string, DifferentialFormatting)
Initializes a new instance of the GreaterThanRule class.
Declaration
public GreaterThanRule(string argument, DifferentialFormatting formatting)
Parameters
argument
formatting
Methods
ResolveComparables(IComparable, IComparable)
Evaluates whether the cell value is greater than the argument value and returns 1.0 if true, 0.0 otherwise.
Declaration
protected override double ResolveComparables(IComparable cellValue, IComparable value)
Parameters
cellValue
The cell value
value
The argument value
Returns
Overrides