dxSpreadSheetConditionalFormattingRulesManagerDialogClass Variable
Specifies the form class of the “Conditional Formatting Rules Manager” dialog that spreadsheet controls invoke.
Declaration
var dxSpreadSheetConditionalFormattingRulesManagerDialogClass: TfrmSpreadSheetConditionalFormattingRulesManagerDialogClass = TfrmSpreadSheetConditionalFormattingRulesManagerDialog;
Variable Value
Type |
---|
TfrmSpreadSheetConditionalFormattingRulesManagerDialogClass |
Remarks
Assign a reference to a TfrmSpreadSheetConditionalFormattingRulesManagerDialog class descendant to this global variable to replace the default “Conditional Formatting Rules Manager” dialog with a custom implementation. This is useful if you need to adjust the default dialog layout or customize available UI elements.
The ShowConditionalFormattingRulesManagerDialog global procedure uses the dxSpreadSheetConditionalFormattingRulesManagerDialogClass variable to call the constructor of the active “Conditional Formatting Rules Manager” dialog. The variable’s value affects only the dialog that spreadsheet controls invoke. To replace the corresponding default dialog in container controls with support for conditional formatting, you need to:
Derive a custom dialog form from the TfrmDataControllerConditionalFormattingRulesManagerDialog class.
Implement a custom dialog form adapter that calls the custom dialog form’s constructor.
Call the TcxDataControllerConditionalFormattingRulesManagerDialogProvider.RegisterRulesManagerDialog class procedure to register the custom dialog form adapter and replace the default dialog.