Class ConditionalFormatting
Represents the base class for defining conditional formatting.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class ConditionalFormatting
Constructors
ConditionalFormatting(ConditionalFormattingRule)
Initializes a new instance of the ConditionalFormatting class.
Declaration
public ConditionalFormatting(ConditionalFormattingRule rule)
Parameters
ConditionalFormattingRule
rule
|
Properties
CellRanges
Get the current cell ranges to which the formatting is applied.
Declaration
public ReadOnlyCollection<CellRange> CellRanges { get; }
Property Value
System.Collections.ObjectModel.ReadOnlyCollection<CellRange>
|
Rule
Gets the current conditional formatting rule.
Declaration
public ConditionalFormattingRule Rule { get; }
Property Value
ConditionalFormattingRule
|
Worksheet
Gets the worksheet element associated with this formatting instance.
Declaration
public Worksheet Worksheet { get; }
Property Value
Worksheet
|
Methods
Resolve(CellIndex)
Get a value that indicates the formatting status in accordance to the cell value.
Declaration
public double Resolve(CellIndex index)
Parameters
CellIndex
index
The index on which the formatting is applied. |
Returns
System.Double
|
UpdateRule(ConditionalFormattingRule)
Update the rule of an existing conditional formatting element.
Declaration
public void UpdateRule(ConditionalFormattingRule rule)
Parameters
ConditionalFormattingRule
rule
The new rule that is applied. |