Class NotBetweenRule
Conditional formatting rule that applies formatting when a cell value falls outside the range defined by two specified bounds.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class NotBetweenRule : DoubleArgumentConditionalFormattingRule, IPropertyValueProvider
Constructors
NotBetweenRule(String, String)
Initializes a new NotBetweenRule with two boundary arguments.
Declaration
[Obsolete("This constructor is obsoleted, please use the one with formatting parameter instead.")]
public NotBetweenRule(string first, string second)
Parameters
|
System.String
first
|
|
System.String
second
|
NotBetweenRule(String, String, DifferentialFormatting)
Initializes a new NotBetweenRule with two boundary arguments and formatting to apply when the condition is met.
Declaration
public NotBetweenRule(string first, string second, DifferentialFormatting formatting)
Parameters
|
System.String
first
|
|
System.String
second
|
|
DifferentialFormatting
formatting
|
Methods
Resolve(ICellValue)
Evaluates whether the cell value falls outside the range defined by 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
|