Conditional formatting applied to one or more cell ranges, dynamically styling cells based on a formatting rule.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
C#
public class ConditionalFormatting
Inheritance: objectConditionalFormatting
Constructors
Initializes a new conditional formatting instance with the specified rule.
C#
public ConditionalFormatting(ConditionalFormattingRule rule)
Methods
Replaces the current rule with a new rule and invalidates the worksheet layout with undo support.
C#
public void UpdateRule(ConditionalFormattingRule rule)
The new rule that is applied.
Properties
Read-only collection of cell ranges to which this conditional formatting is applied.
C#
public ReadOnlyCollection<CellRange> CellRanges { get; }
Rule that determines which cells receive conditional formatting and what styling is applied.
C#
public ConditionalFormattingRule Rule { get; }