• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ConditionalFormattingRule

Base class for all conditional formatting rules

Inheritance
object
ConditionalFormattingRule
DataBarFormattingRule
IconSetFormattingRule
StandardConditionalFormattingRule
TwoColorScaleFormattingRule
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet.ConditionalFormatting
Assembly: DRIT.Spreadsheet.dll
Syntax
public abstract class ConditionalFormattingRule

Properties

EqualAverage

Gets or sets whether to use the average for Top10 rules.

Declaration
public bool EqualAverage { get; set; }
Property Value
Type Description
bool

Formula1

Specifies the first formula for this conditional formatting rule.

Declaration
public virtual string Formula1 { get; set; }
Property Value
Type Description
string

Formula2

Specifies the second formula for this conditional formatting rule.

Declaration
public string Formula2 { get; set; }
Property Value
Type Description
string

Formula3

Specifies the third formula for this conditional formatting rule.

Declaration
public string Formula3 { get; set; }
Property Value
Type Description
string

Priority

Specifies the priority of this rule. Rules with higher priority are evaluated first.

Declaration
public int Priority { get; set; }
Property Value
Type Description
int

StdDev

Gets or sets whether to use standard deviation for Top10 rules.

Declaration
public bool StdDev { get; set; }
Property Value
Type Description
bool

StopIfTrue

Gets or sets whether to stop evaluating subsequent rules if this rule applies.

Declaration
public bool StopIfTrue { get; set; }
Property Value
Type Description
bool

Text

Specifies the text value for this rule (used by specific text rules).

Declaration
public virtual string Text { get; set; }
Property Value
Type Description
string

Methods

OnDifferentialStyleSet()

Called when the differential style is set. Override to add custom behavior.

Declaration
protected virtual void OnDifferentialStyleSet()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX