Class ConditionalFormattingRule
Represents a description of a conditional formatting rule.
Inheritance
Namespace: IronXL.Formatting
Assembly: IronXL.dll
Syntax
public class ConditionalFormattingRule : Object
Properties
BorderFormatting
Gets the border formatting.
Declaration
public IBorderFormatting BorderFormatting { get; }
Property Value
Type | Description |
---|---|
IBorder |
The border formatting. |
ComparisonOperation
The comparison function used when the type of conditional formatting is Set to Cell
Declaration
public ComparisonOperator ComparisonOperation { get; }
Property Value
Type | Description |
---|---|
Comparison |
The conditional format operator. |
ConditionType
Type of conditional formatting rule. MUST be either Cell
Declaration
public ConditionType ConditionType { get; }
Property Value
Type | Description |
---|---|
Condition |
The type of condition. |
FontFormatting
Gets the font formatting.
Declaration
public IFontFormatting FontFormatting { get; }
Property Value
Type | Description |
---|---|
IFont |
The font formatting. |
Formula1
The formula used to Evaluate the first operand for the conditional formatting rule.
If the condition type is Cell
If comparison type is NPOI.
Declaration
public string Formula1 { get; }
Property Value
Type | Description |
---|---|
System. |
The first formula of the rule |
Formula2
The formula used to Evaluate the second operand of the comparison when
condition type is Cell
Declaration
public string Formula2 { get; }
Property Value
Type | Description |
---|---|
System. |
The second formula of the rule. |
PatternFormatting
Gets the pattern formatting.
Declaration
public IPatternFormatting PatternFormatting { get; }
Property Value
Type | Description |
---|---|
IPattern |
The pattern formatting. |