Skip to main content

dxPDFViewerPasswordDialogClass Variable

Specifies the form class of the “Enter Password” dialog that a PDF Viewer control invokes.

Declaration

var dxPDFViewerPasswordDialogClass: TdxPDFViewerPasswordDialogFormClass = TdxPDFViewerPasswordDialogForm;

Variable Value

Type Description
TdxPDFViewerPasswordDialogFormClass

The class-reference to an “Enter Password” dialog class.

Remarks

Assign a reference to a TdxPDFViewerPasswordDialogForm class descendant to this global variable to replace the built-in “Enter Password” dialog with a custom implementation. This is useful if you need to adjust the default dialog layout or customize available UI elements.

The ShowPasswordDialog global function uses the dxPDFViewerPasswordDialogClass global variable to call the constructor of the active “Enter Password” dialog form.

See Also