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

TdxSpreadSheetCustomConditionalFormattingRule.Clone(TRect) Method

Creates a copy of the conditional formatting rule and applies the created rule to the specified cell range.

#Declaration

Delphi
function Clone(const AArea: TRect): TdxSpreadSheetCustomConditionalFormattingRule; overload;

#Parameters

Name Type Description
AArea TRect

The target cell range.

#Returns

Type Description
TdxSpreadSheetCustomConditionalFormattingRule

The created conditional formatting rule whose settings are copied from the current rule.

Cast the returned object to the corresponding terminal TdxSpreadSheetCustomConditionalFormattingRule class descendant to access all public API members.

Tip

You can call the rule’s ClassType function or use other RTTI functionality to identify the actual rule type.

See Also