Skip to main content

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.v23.2.dll

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

Declaration

public DialogResult ShowDialog(
    UserLookAndFeel lookAndFeel
)

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.

See Also