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

PrintHelper.ShowRibbonPrintPreviewDialog(Window, IReport, String) Method

In This Article

Creates a document from the specified report, and shows it modally in the Ribbon Print Preview dialog.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v24.2.dll

NuGet Package: DevExpress.Wpf.Printing

#Declaration

public static void ShowRibbonPrintPreviewDialog(
    Window owner,
    IReport report,
    string title
)

#Parameters

Name Type Description
owner Window

A Window object, which is the owner of the dialog.

report IReport

An object implementing the IReport interface, which represents the report to preview.

title String

A String value, specifying the Document Preview dialog’s title. “Print Preview” by default.

See Also