Skip to main content

PrintPreviewFormExBase.Show(UserLookAndFeel) Method

Displays the Print Preview Form 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

public void Show(
    UserLookAndFeel lookAndFeel
)

Parameters

Name Type Description
lookAndFeel UserLookAndFeel

A UserLookAndFeel object which specifies the Look-and-Feel settings to apply to the Print Preview Form.

Remarks

This method creates and 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 Show method without the lookAndFeel parameter.

Example

The following example demonstrates how to show the PrintPreviewFormEx of the PrintingSystem component.

printingSystem1.PreviewFormEx.Show();
See Also