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

TdxSpreadSheetConditionalFormatting.Add(string,TdxSpreadSheetCustomConditionalFormattingRuleClass,Untyped) Method

Creates a new rule and adds it to the conditional formatting controller.

#Declaration

Delphi
procedure Add(const AArea: string; ARuleClass: TdxSpreadSheetCustomConditionalFormattingRuleClass; out ARule); overload;

#Parameters

Name Type
AArea string
ARuleClass TdxSpreadSheetCustomConditionalFormattingRuleClass
ARule

#Remarks

Call this procedure and pass a reference to the target conditional formatting rule class as the ARuleClass parameter to create a new rule like inherited Add procedures do. Unlike them, this Add procedure variant accepts a reference (as a string in the A1 format) to the rule’s target area instead of a rect (as the AArea parameter).

See Also