Defines the criterion for a threshold.

Inheritance

Inherited from: CriterionBase

Returns the numeric value for this instance.

public double Value { get; }

Inherited from: CriterionBase

Returns a value which specifies the manner in which the threshold values for this instance are determined.

public FormatConditionValueType ValueType { get; }

Inherited from: CriterionBase

Returns the which determines whether cell values meet the criteria defined by the associated condition.

public Formula Formula { get; }

Returns or sets a object which defines the color information for the threshold associated with this instance.

public WorkbookColorInfo FormatColor { get; set; }

SetFormula(string, CellReferenceMode?, FormatConditionValueType)

Section titled "SetFormula(string, CellReferenceMode?, FormatConditionValueType)"

Inherited from: CriterionBase

Assigns the specified formula to the property, and assigns a value of Formula to the property.

public void SetFormula(string formula, CellReferenceMode? cellReferenceMode = null, FormatConditionValueType valueType = FormatConditionValueType.Formula)

Parameters

  • formula: string
  • cellReferenceMode: CellReferenceMode?
  • valueType: FormatConditionValueType

Returns any

SetValue(double, FormatConditionValueType)

Section titled "SetValue(double, FormatConditionValueType)"

Inherited from: CriterionBase

Sets the and properties to the specified values.

public void SetValue(double value, FormatConditionValueType valueType)

Parameters

  • value: double
  • valueType: FormatConditionValueType

Returns any

Inherited from: CriterionBase

Sets the property to the specified value.

public void SetValue(FormatConditionValueType valueType)

Parameters

  • valueType: FormatConditionValueType

Returns any

Returns the string representation of this instance.

public override string ToString()

Returns any