Class NotEqualToRule
Conditional formatting rule that applies formatting when a cell value does not equal a specified argument value.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class NotEqualToRule : SingleArgumentConditionalFormattingRule, IPropertyValueProvider
Constructors
NotEqualToRule(String)
Initializes a new NotEqualToRule with the comparison argument.
Declaration
[Obsolete("This constructor is obsoleted, please use the one with formatting parameter instead.")]
public NotEqualToRule(string argument)
Parameters
|
System.String
argument
|
NotEqualToRule(String, DifferentialFormatting)
Initializes a new NotEqualToRule with the comparison argument and formatting to apply when the condition is met.
Declaration
public NotEqualToRule(string argument, DifferentialFormatting formatting)
Parameters
|
System.String
argument
|
|
DifferentialFormatting
formatting
|
Methods
Resolve(ICellValue)
Evaluates whether the cell value does not equal the argument 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
|