Class NotContainsBlanksRule
Conditional formatting rule that applies formatting when a cell is not blank and contains non-whitespace content.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class NotContainsBlanksRule : ConditionalFormattingDxfRule, IPropertyValueProvider
Constructors
NotContainsBlanksRule()
Initializes a new NotContainsBlanksRule with default formatting.
Declaration
[Obsolete("This constructor is obsoleted, please use the one with formatting parameter instead.")]
public NotContainsBlanksRule()
NotContainsBlanksRule(DifferentialFormatting)
Initializes a new NotContainsBlanksRule with the specified formatting to apply when the condition is met.
Declaration
public NotContainsBlanksRule(DifferentialFormatting formatting)
Parameters
|
DifferentialFormatting
formatting
|
Methods
Resolve(ICellValue)
Evaluates whether the cell contains non-whitespace content 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
|