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

ShowConditionalFormattingRuleEditDialog(IdxDialogOwner,TdxSpreadSheetCustomConditionalFormattingRule) Method

Invokes the Conditional Formatting Rule dialog for a control with support for conditional formatting.

#Declaration

Delphi
function ShowConditionalFormattingRuleEditDialog(AOwner: IdxDialogOwner; var ARule: TdxSpreadSheetCustomConditionalFormattingRule): Boolean;

#Parameters

Name Type Description
AOwner IdxDialogOwner

The target control with support for conditional formatting.

The accepted control must implement IdxDialogOwner and IdxSpreadSheetConditionalFormatting interfaces; otherwise, the function call has no effect.

ARule TdxSpreadSheetCustomConditionalFormattingRule

The target conditional formatting rule.

If the invoked dialog creates a new conditional formatting rule, this parameter returns the created rule.

#Returns

Type Description
Boolean
  • True if a user clicks the OK button or presses the Enter key to close the dialog.
  • False if a user closes the dialog in a different way.

#Remarks

Call the ShowConditionalFormattingRuleEditDialog function to invoke the dialog that allows users to edit an existing conditional formatting rule or create a new rule.

VCL Spreadsheet: A Conditional Formatting Rule Example

See Also