Class LessThanRule
Conditional formatting rule that applies formatting when a cell value is less than a specified argument value.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class LessThanRule : SingleArgumentComparisonRule, IPropertyValueProvider
Constructors
LessThanRule(String)
Initializes a new LessThanRule with the comparison argument.
Declaration
[Obsolete("This constructor is obsoleted, please use the one with formatting parameter instead.")]
public LessThanRule(string argument)
Parameters
|
System.String
argument
|
LessThanRule(String, DifferentialFormatting)
Initializes a new LessThanRule with the comparison argument and formatting to apply when the condition is met.
Declaration
public LessThanRule(string argument, DifferentialFormatting formatting)
Parameters
|
System.String
argument
|
|
DifferentialFormatting
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
protected override double ResolveComparables(IComparable cellValue, IComparable value)
Parameters
|
System.IComparable
cellValue
The cell value |
|
System.IComparable
value
The argument value |
Returns
|
System.Double
|