Class SingleArgumentComparisonRule
Represents a basic class for rules wtih a single arguments. Support both absolute values and formula values.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class SingleArgumentComparisonRule : SingleArgumentConditionalFormattingRule, IPropertyValueProvider
Constructors
SingleArgumentComparisonRule(String)
Initializes a new instance of the SingleArgumentComparisonRule class.
Declaration
[Obsolete("This constructor is obsoleted, please use the one with formatting parameter instead.")]
protected SingleArgumentComparisonRule(string argument)
Parameters
System.String
argument
|
SingleArgumentComparisonRule(String, DifferentialFormatting)
Initializes a new instance of the SingleArgumentComparisonRule class.
Declaration
protected SingleArgumentComparisonRule(string argument, DifferentialFormatting formatting)
Parameters
System.String
argument
|
DifferentialFormatting
formatting
|
Methods
Resolve(ICellValue)
Resolves the rule in regards to a given cell value.
Declaration
protected override double Resolve(ICellValue value)
Parameters
ICellValue
value
The cell value |
Returns
System.Double
|
Overrides
ResolveComparables(IComparable, IComparable)
Resolves the rule in regards to a pair of given cell values.
Declaration
protected abstract double ResolveComparables(IComparable cellValue, IComparable value)
Parameters
System.IComparable
cellValue
|
System.IComparable
value
|
Returns
System.Double
|
ResolveText(TextCellValue)
Resolves the rule in regards to a given cell value.
Declaration
protected virtual double ResolveText(TextCellValue cellValue)
Parameters
TextCellValue
cellValue
The cell value |
Returns
System.Double
|