ClassLessThanRule
Class
Conditional formatting rule that applies formatting when a cell value is less than a specified argument value.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
cs-api-definition
public class LessThanRule : SingleArgumentComparisonRule
Inheritance: objectConditionalFormattingRuleConditionalFormattingDxfRuleSingleArgumentConditionalFormattingRuleSingleArgumentComparisonRuleLessThanRule
Inherited Members
Constructors
LessThanRule(string, DifferentialFormatting)
Initializes a new LessThanRule with the comparison argument and formatting to apply when the condition is met.
Declaration
cs-api-definition
public LessThanRule(string argument, DifferentialFormatting formatting)
Parameters
argument
formatting
Methods
ResolveComparables(IComparable, IComparable)
Evaluates whether the cell value is less than the argument value and returns 1.0 if true, 0.0 otherwise.
Declaration
cs-api-definition
protected override double ResolveComparables(IComparable cellValue, IComparable value)
Parameters
cellValue
The cell value
value
The argument value
Returns
Overrides