Skip to main content

PrintPreviewFormExBase.ShowDialog(IWin32Window) Method

Invokes the Print Preview Form form which is shown modally as a child of the specified parent window.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

public DialogResult ShowDialog(
    IWin32Window owner
)

Parameters

Name Type Description
owner IWin32Window

A IWin32Window object representing the parent window for this dialog.

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.

See Also