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