Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: 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