PrintPreviewFormExBase.ShowDialog(UserLookAndFeel) Method

Invokes the Print Preview Form form which is shown modally using the specified look and feel settings.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v20.1.dll

Declaration

public DialogResult ShowDialog(
    UserLookAndFeel lookAndFeel
)
Public Function ShowDialog(
    lookAndFeel As UserLookAndFeel
) As DialogResult

Parameters

Name Type Description
lookAndFeel UserLookAndFeel

A UserLookAndFeel object which specifies the look and feel settings applied to the Print 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(UserLookAndFeel)
See Also