Click or drag to resize

IConditionalFormat Interface

Contains a condition and the formatting attributes applied to the cells, if the condition is met.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface IConditionalFormat : IExcelApplication

The IConditionalFormat type exposes the following members.

Properties
Name Description
Public property BackColor
Pattern background color.
Public property BackKnownColor
Pattern background color.
Public property BottomBorderColor
Color of the bottom line
Public property BottomBorderKnownColor
Color of the bottom line.
Public property BottomBorderStyle
Bottom border line style.
Public property Color
Pattern foreground color.
Public property ColorScale
Returns color scale settings. Valid only if FormatType is set to ColorScale. Read-only.
Public property DataBar
Returns data bar settings. Valid only if FormatType is set to DataBar. Read-only.
Public property FillPattern
XlsFill pattern style.
Public property FirstFormula
First formula.
Public property FontColor
Font color.
Public property FontKnownColor
Font color.
Public property FormatType
Type of the conditional format.
Public property IconSet
Returns iconset settings. Valid only if FormatType is set to IconSet. Read-only.
Public property IsBold
Indicates whether the font is bold.
Public property IsItalic
Indicates whether font is italic.
Public property IsStrikeThrough
Indicates whether font is struck through.
Public property IsSubScript
Indicates whether font is subscript.
Public property IsSuperScript
Indicates whether font is superscript.
Public property KnownColor
Pattern foreground color.
Public property LeftBorderColor
Color of the left line.
Public property LeftBorderKnownColor
Color of the left line.
Public property LeftBorderStyle
Left border line style.
Public property Operator
Type of the comparison operator.
Public property Parent
Gets the parent object of the current instance.
(Inherited from IExcelApplication .)
Public property Priority
Priority.
Public property RightBorderColor
Color of the right line.
Public property RightBorderKnownColor
Color of the right line.
Public property RightBorderStyle
Right border line style.
Public property SecondFormula
Second formula.
Public property TopBorderColor
Color of the top line.
Public property TopBorderKnownColor
Color of the top line.
Public property TopBorderStyle
Top border line style.
Public property Underline
Underline type.
Top
See Also