PrintPreviewFormExBase.ShowDialog(IWin32Window, UserLookAndFeel) Method
Invokes the Print Preview Form form which is shown modally as a child of the specified parent window using the specified look and feel settings.
Namespace: DevExpress.XtraPrinting.Preview
Assembly: DevExpress.XtraPrinting.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing
Declaration
Parameters
Name | Type | Description |
---|---|---|
owner | IWin32Window | A IWin32Window object representing the parent window for this dialog. |
lookAndFeel | UserLookAndFeel | A UserLookAndFeel object which specifies the look and feel settings applied to the Preview Form. |
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 particular UserLookAndFeel settings. To show the Print Preview Form using the default look-and-feel settings used in the current project, use the overloaded ShowDialog method without the lookAndFeel parameter.