GreaterThanRule
Class
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:
C#
public class GreaterThanRule : SingleArgumentComparisonRule
Inheritance: objectConditionalFormattingRuleConditionalFormattingDxfRuleSingleArgumentConditionalFormattingRuleSingleArgumentComparisonRuleGreaterThanRule...
Inherited Members
Constructors
Initializes a new instance of the GreaterThanRule class.
C#
public GreaterThanRule(string argument, DifferentialFormatting formatting)
Methods
Evaluates whether the cell value is greater than the argument value and returns 1.0 if true, 0.0 otherwise.
C#
protected override double ResolveComparables(IComparable cellValue, IComparable value)
The cell value
valueIComparableThe argument value
Returns:Overrides: