Conditional formatting rule that applies formatting when a cell value is less than or equal to a specified argument value.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
C#
public class LessThanOrEqualToRule : SingleArgumentComparisonRule
Inheritance: objectConditionalFormattingRuleConditionalFormattingDxfRuleSingleArgumentConditionalFormattingRuleSingleArgumentComparisonRuleLessThanOrEqualToRule...
Inherited Members
Constructors
Initializes a new LessThanOrEqualToRule with the comparison argument and formatting to apply when the condition is met.
C#
public LessThanOrEqualToRule(string argument, DifferentialFormatting formatting)
Methods
Evaluates whether the cell value is less than or equal to 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: