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.v20.1.dll

Declaration

public DialogResult ShowDialog(
    IWin32Window owner,
    UserLookAndFeel lookAndFeel
)
Public Function ShowDialog(
    owner As IWin32Window,
    lookAndFeel As UserLookAndFeel
) As DialogResult

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.

Implements

DevExpress.XtraPrinting.Preview.IPrintPreviewForm.ShowDialog(IWin32Window, UserLookAndFeel)
See Also