NotContainsRule
Class
Conditional formatting rule that applies formatting when a cell's text value does not contain a specified substring.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
C#
public class NotContainsRule : SingleArgumentConditionalFormattingRule
Inheritance: objectConditionalFormattingRuleConditionalFormattingDxfRuleSingleArgumentConditionalFormattingRuleNotContainsRule
Inherited Members
Constructors
Initializes a new NotContainsRule with the text substring to exclude and formatting to apply when the condition is met.
C#
public NotContainsRule(string text, DifferentialFormatting formatting)
Methods
Evaluates whether the cell's text value does not contain the specified substring and returns 1.0 if true, 0.0 otherwise.
C#
protected override double Resolve(ICellValue value)
The cell value
Returns:Overrides: