Skip to main content

PrintHelper.ShowPrintPreview(FrameworkElement, IReport, String) Method

Creates a document from the specified link, and shows it in the Document Preview window.

Namespace: DevExpress.Xpf.Printing

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

NuGet Package: DevExpress.Wpf.Printing

Declaration

public static Window ShowPrintPreview(
    FrameworkElement owner,
    IReport report,
    string title
)

Parameters

Name Type Description
owner FrameworkElement

A FrameworkElement 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 dialog title.

Returns

Type Description
Window

A Window object.

See Also