Class XlsConditionalFormat
- Namespace
- Spire.Xls.Core.Spreadsheet
- Assembly
- Spire.XLS.dll
public class XlsConditionalFormat : XlsObject, IDisposable, IConditionalFormat, IExcelApplication, ICloneParent
- Inheritance
-
XlsConditionalFormat
- Implements
- Derived
- Inherited Members
Properties
Average
public Average Average { get; }
Property Value
BackColor
Pattern background color.
public Color BackColor { get; set; }
Property Value
BackColorObject
Conditional format background color. Read-only.
public OColor BackColorObject { get; }
Property Value
BackKnownColor
Pattern background excel color.
public ExcelColors BackKnownColor { get; set; }
Property Value
BottomBorderColor
Color of the bottom line.
public Color BottomBorderColor { get; set; }
Property Value
BottomBorderColorObject
Conditional format bottom border color. Read-only.
public OColor BottomBorderColorObject { get; }
Property Value
BottomBorderKnownColor
Excel color of the bottom line.
public ExcelColors BottomBorderKnownColor { get; set; }
Property Value
BottomBorderStyle
Bottom border line style.
public LineStyleType BottomBorderStyle { get; set; }
Property Value
Color
Pattern foreground color.
public Color Color { get; set; }
Property Value
ColorScale
Get the conditional formatting's "ColorScale" instance. The default instance is a "green-red" 2ColorScale . Valid only for type = ColorScale.
public ColorScale ColorScale { get; }
Property Value
- ColorScale
ColorScale instance
DataBar
public DataBar DataBar { get; }
Property Value
DxfId
public int DxfId { get; set; }
Property Value
FillPattern
XlsFill pattern type.
public ExcelPatternType FillPattern { get; set; }
Property Value
FirstFormula
First formula.
public string FirstFormula { get; set; }
Property Value
FirstFormulaR1C1
[Obsolete("This Property is Obsolete;")]
public string FirstFormulaR1C1 { get; set; }
Property Value
FontColor
public Color FontColor { get; set; }
Property Value
FontColorObject
Conditional format font color. Read-only.
public OColor FontColorObject { get; }
Property Value
FontKnownColor
Font excel color.
public ExcelColors FontKnownColor { get; set; }
Property Value
FormatType
public ConditionalFormatType FormatType { get; set; }
Property Value
IconSet
public IconSet IconSet { get; }
Property Value
IsBackgroundColorPresent
Indicates whether background color present.
public bool IsBackgroundColorPresent { get; set; }
Property Value
IsBold
Indicates whether font is bold.
public bool IsBold { get; set; }
Property Value
IsBorderFormatPresent
Indicates whether contains border formatting.
public bool IsBorderFormatPresent { get; set; }
Property Value
IsBottomBorderModified
Indicates whether bottom border style and color are modified.
public bool IsBottomBorderModified { get; set; }
Property Value
IsFontColorPresent
Indicates whether format color present.
public bool IsFontColorPresent { get; set; }
Property Value
IsFontFormatPresent
Indicates whether contains font formatting.
public bool IsFontFormatPresent { get; set; }
Property Value
IsItalic
Indicates whether font is italic.
public bool IsItalic { get; set; }
Property Value
IsLeftBorderModified
Indicates whether left border style and color are modified.
public bool IsLeftBorderModified { get; set; }
Property Value
IsNumberFormatPresent
public bool IsNumberFormatPresent { get; }
Property Value
IsPatternColorPresent
Indicates whether presents pattern color.
public bool IsPatternColorPresent { get; set; }
Property Value
IsPatternFormatPresent
Indicates whether contains pattern formatting.
public bool IsPatternFormatPresent { get; set; }
Property Value
IsPatternStyleModified
Indicates whether pattern style was modified.
public bool IsPatternStyleModified { get; set; }
Property Value
IsRightBorderModified
Indicates right border style and color modified.
public bool IsRightBorderModified { get; set; }
Property Value
IsStrikeThrough
Indicates whether font is striked through.
public bool IsStrikeThrough { get; set; }
Property Value
IsSubScript
Indicates whether font is subscript.
public bool IsSubScript { get; set; }
Property Value
IsSuperScript
Indicates whether font is superscript.
public bool IsSuperScript { get; set; }
Property Value
IsTopBorderModified
Indicates whether top border style and color are modified.
public bool IsTopBorderModified { get; set; }
Property Value
KnownColor
Pattern foreground excel color.
public ExcelColors KnownColor { get; set; }
Property Value
LeftBorderColor
public Color LeftBorderColor { get; set; }
Property Value
LeftBorderColorObject
Conditional format left border color. Read-only.
public OColor LeftBorderColorObject { get; }
Property Value
LeftBorderKnownColor
Excel color of the left line.
public ExcelColors LeftBorderKnownColor { get; set; }
Property Value
LeftBorderStyle
Left border line style.
public LineStyleType LeftBorderStyle { get; set; }
Property Value
NumberFormat
public string NumberFormat { get; set; }
Property Value
OColor
Conditional format color. Read-only.
public OColor OColor { get; }
Property Value
Operator
Type of the comparison operator.
public ComparisonOperatorType Operator { get; set; }
Property Value
Priority
public int Priority { get; set; }
Property Value
RightBorderColor
Color of the right line.
public Color RightBorderColor { get; set; }
Property Value
RightBorderColorObject
Conditional format right border color. Read-only.
public OColor RightBorderColorObject { get; }
Property Value
RightBorderKnownColor
Color of the right line.
public ExcelColors RightBorderKnownColor { get; set; }
Property Value
RightBorderStyle
Right border line style.
public LineStyleType RightBorderStyle { get; set; }
Property Value
SecondFormula
Second formula.
public string SecondFormula { get; set; }
Property Value
SecondFormulaR1C1
[Obsolete("This Property is Obsolete;")]
public string SecondFormulaR1C1 { get; set; }
Property Value
StopIfTrue
public bool StopIfTrue { get; set; }
Property Value
TopBorderColor
public Color TopBorderColor { get; set; }
Property Value
TopBorderColorObject
Conditional format top border color. Read-only.
public OColor TopBorderColorObject { get; }
Property Value
TopBorderKnownColor
Excel color of the top line.
public ExcelColors TopBorderKnownColor { get; set; }
Property Value
TopBorderStyle
Top border line style.
public LineStyleType TopBorderStyle { get; set; }
Property Value
TopBottom
public TopBottom TopBottom { get; }
Property Value
Underline
Underline type.
public FontUnderlineType Underline { get; set; }
Property Value
Methods
Clone(object)
Creates a new object that is a copy of the current instance.
public object Clone(object parent)
Parameters
parent
objectParent object for a copy of this instance.
Returns
- object
A new object that is a copy of this instance.
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
MakeFormula()
public string MakeFormula()
Returns
MakeFormula(double)
public string MakeFormula(double para)
Parameters
para
double
Returns
MakeFormula(string)
[Obsolete("the method is not implemented")]
public string MakeFormula(string para)
Parameters
para
string
Returns
SetTimePeriod(TimePeriodType)
public void SetTimePeriod(TimePeriodType timePeriod)
Parameters
timePeriod
TimePeriodType
UpdateFormula(int, int, Rectangle, int, Rectangle, int, int)
[Obsolete("the method is not implemented")]
public void UpdateFormula(int iCurIndex, int iSourceIndex, Rectangle sourceRect, int iDestIndex, Rectangle destRect, int row, int column)