Class BetweenRule
Conditional formatting rule that applies formatting when a cell value falls between two specified bounds, inclusive.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class BetweenRule : DoubleArgumentConditionalFormattingRule, IPropertyValueProvider
Constructors
BetweenRule(String, String)
Initializes a new BetweenRule with two boundary arguments.
Declaration
[Obsolete("This constructor is obsoleted, please use the one with 3 parameters instead.")]
public BetweenRule(string argument1, string argument2)
Parameters
|
System.String
argument1
|
|
System.String
argument2
|
BetweenRule(String, String, DifferentialFormatting)
Initializes a new instance of the BetweenRule class.
Declaration
public BetweenRule(string argument1, string argument2, DifferentialFormatting formatting)
Parameters
|
System.String
argument1
|
|
System.String
argument2
|
|
DifferentialFormatting
formatting
|
Methods
Resolve(ICellValue)
Evaluates whether the cell value falls between the two boundary arguments and returns 1.0 if true, 0.0 otherwise.
Declaration
protected override double Resolve(ICellValue value)
Parameters
|
ICellValue
value
The cell value |
Returns
|
System.Double
|