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

TdxSpreadSheetConditionalFormattingRuleTwoColorScale.MaxValue Property

Specifies the Two Color Scale conditional formatting rule’s maximum threshold value and the corresponding key gradient color.

#Declaration

Delphi
property MaxValue: TdxSpreadSheetConditionalFormattingRuleColorScaleStop index 1 read; write;

#Property Value

Type
TdxSpreadSheetConditionalFormattingRuleColorScaleStop

#Remarks

The backgrounds of all cells affected by the rule are painted with gradient colors between the two key points corresponding to minimum and maximum threshold values. To set both threshold values and their key gradient points, use MinValue and MaxValue properties.

MaxValue.Value and MaxValue.ValueType properties specify the maximum threshold value and how the conditional formatting controller interprets it, respectively. Use the MaxValue.Color property to set the corresponding key gradient point. The maximum threshold value’s default color is determined by the DefaultMaxValueColor writable typed constant.

Refer to the TdxSpreadSheetConditionalFormattingRuleColorScaleStop class description for detailed information on all available threshold value and gradient point settings.

See Also