Exposes properties which displays icons in a based on the cell's value as relative to threshold values.
Inheritance
Properties
Section titled "Properties"Formula
Section titled "Formula"Inherited from: ThresholdConditionBase
Returns the which determines the values to which this condition applies.
public Formula Formula { get; } Worksheet
Section titled "Worksheet"Inherited from: ConditionBase
Returns a reference to the associated worksheet.
public Worksheet Worksheet { get; } Workbook
Section titled "Workbook"Inherited from: ConditionBase
Returns a reference to the associated workbook.
public Workbook Workbook { get; } Regions
Section titled "Regions"Inherited from: ConditionBase
Returns the which identifies the cell range with which this condition is associated.
public ReadOnlyCollection<WorksheetRegion> Regions { get; } ConditionType
Section titled "ConditionType"Inherited from: ConditionBase
Returns a value which identifies the type of condition for this instance.
public FormatConditionType ConditionType { get; } Priority
Section titled "Priority"Inherited from: ConditionBase
Returns or sets a value which determines the order of evaluation when multiple conditional formatting rules exist.
public int Priority { get; set; } StopIfTrue
Section titled "StopIfTrue"Inherited from: ConditionBase
Returns or sets a boolean indicating whether additional formatting rules are evaluated if this rule evaluates to true. Applicable only in the case where the containing contains more than one element.
public bool StopIfTrue { get; set; } IconCriteria
Section titled "IconCriteria"Returns a which defines the criteria for this condition.
public IconSetCriterionCollection IconCriteria { get; } IconSet
Section titled "IconSet"Returns or sets a value which identifies the set of icons used to express this condition.
public FormatConditionIconSet IconSet { get; set; } IsCustom
Section titled "IsCustom"Returns true if the property of one or more returns a value which is from a different icon set as the one returned from the property.
public bool IsCustom { get; } IsReverseOrder
Section titled "IsReverseOrder"Returns or sets a boolean value indicating whether the order in which icons appear is reversed.
public bool IsReverseOrder { get; set; } ShowValue
Section titled "ShowValue"Returns or sets a boolean value indicating whether the cell value is shown along with the icon.
public bool ShowValue { get; set; } Methods
Section titled "Methods"SetFormula(string, CellReferenceMode?)
Section titled "SetFormula(string, CellReferenceMode?)"Inherited from: ThresholdConditionBase
Assigns a new to the property.
public void SetFormula(string formula, CellReferenceMode? cellReferenceMode = null) Parameters
- formula:
string - cellReferenceMode:
CellReferenceMode?
Returns any
SetFirstPriority()
Section titled "SetFirstPriority()"Inherited from: ConditionBase
Sets the value for this rule such that it is the first condition to be evaluated. Applicable only in the case where there is more than one element contained within the associated .
public void SetFirstPriority() Returns any
SetLastPriority()
Section titled "SetLastPriority()"Inherited from: ConditionBase
Sets the value for this rule such that it is the last condition to be evaluated. Applicable only in the case where there is more than one element contained within the associated .
public void SetLastPriority() Returns any
SetRegions(string, CellReferenceMode?)
Section titled "SetRegions(string, CellReferenceMode?)"Inherited from: ConditionBase
Replaces the existing regions with new ones
public void SetRegions(string regionAddress, CellReferenceMode? cellReferenceMode) Parameters
- regionAddress:
string - cellReferenceMode:
CellReferenceMode?