Skip to main content

TdxSpreadSheetConditionalFormattingRuleColorScaleStop Class

Declaration

TdxSpreadSheetConditionalFormattingRuleColorScaleStop = class(
    TdxSpreadSheetConditionalFormattingRuleCustomScaleStop
)

Remarks

This class implements the connection between a key gradient point and a threshold value that the conditional formatting controller compares to numeric values of the cells affected by a color gradient scale-based conditional formatting rule. A gradient used to paint cell backgrounds is based on at least two different gradient stops.

Example

The TdxSpreadSheetConditionalFormattingRuleColorScaleStop class has public API members that allow you to do the following:

  • Specify the gradient point’s color (Color).

  • Determine the threshold numeric value corresponding to the gradient key point (Value and ValueType).

  • Identify the key point’s predefined position within the calculated gradient (Index).

  • Obtain the actual numeric value used in color scale-based conditional formatting rule evaluation (ActualValue).

  • Optimize the application performance when applying multiple changes to the gradient stop (BeginUpdate and EndUpdate).

Direct TdxSpreadSheetConditionalFormattingRuleColorScaleStop Class References

The following properties reference a TdxSpreadSheetConditionalFormattingRuleColorScaleStop object:

Inheritance

See Also