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

dxSpreadSheetPageSetupDialogClass Variable

Specifies the form dialog of the “Page Setup” dialog that spreadsheet controls use.

#Declaration

Delphi
var dxSpreadSheetPageSetupDialogClass: TdxSpreadSheetPageSetupDialogFormClass = TdxSpreadSheetPageSetupDialogForm;

#Variable Value

Type Description
TdxSpreadSheetPageSetupDialogFormClass

A reference to a “Page Setup“ form class.

#Remarks

Assign a reference to a TdxSpreadSheetPageSetupDialogForm class descendant to this global variable to replace the standard “Page Setup” dialog with a custom implementation. This is useful if you need to adjust the default dialog layout or customize available UI elements.

The ShowPageSetupDialog procedure uses the dxSpreadSheetPageSetupDialogClass global variable to call the constructor of the active “Page Setup” dialog form class.

See Also