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.2.dll
NuGet Package: DevExpress.Win.Printing
#Declaration
public DialogResult ShowDialog(
IWin32Window owner,
UserLookAndFeel lookAndFeel
)
#Parameters
Name | Type | Description |
---|---|---|
owner | IWin32Window | A IWin32Window object representing the parent window for this dialog. |
look |
User |
A User |
#Returns
Type | Description |
---|---|
Dialog |
A 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.