Skip to main content
A newer version of this page is available. .

PrintHelper.ShowRibbonPrintPreviewDialog(Window, IPrintableControl) Method

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

Namespace: DevExpress.Xpf.Printing

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Printing, DevExpress.Wpf.Printing

Declaration

public static void ShowRibbonPrintPreviewDialog(
    Window owner,
    IPrintableControl source
)

Parameters

Name Type Description
owner Window

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

source IPrintableControl

An object implementing the IPrintableControl interface.

See Also