Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DefaultMinValueColor Constant

Specifies the default gradient key color of the Two Color Scale conditional formatting rule’s minimum threshold value.

#Declaration

Delphi
const DefaultMinValueColor: TColor = clYellow;

#Returns

Type
TColor

#Remarks

The Create constructor uses this writable typed constant value to initialize the newly created Two Color Scale rule’s MinValue.Color property. The Conditional Formatting Rule dialog displays DefaultMinValueColor and DefaultMaxValueColor colors as the default key gradient points for the selected Format all cells based on their values via two color scale rule type:

You can use DefaultMinValueColor and DefaultMaxValueColor typed constants to change the rule’s default key gradient colors:

  TdxSpreadSheetConditionalFormattingRuleTwoColorScale.DefaultMinValueColor := clRed;
  TdxSpreadSheetConditionalFormattingRuleTwoColorScale.DefaultMaxValueColor := clLime;

As a result, the Conditional Formatting Rule dialog displays new default key gradient colors for the rule:

See Also