Skip to main content
A newer version of this page is available. .

PrintPreviewFormExBase.ShowDialog() Method

Invokes the Print Preview Form form which is shown modally.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v19.1.dll

Declaration

public DialogResult ShowDialog()

Returns

Type Description
DialogResult

A DialogResult enumeration value representing the return value of the dialog.

Remarks

This method creates and modally shows the Print Preview Form using the default look-and-feel settings used in the current project. To show the Print Preview Form using any particular UserLookAndFeel settings, use the overloaded ShowDialog method with the lookAndFeel parameter.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowDialog() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also