Skip to main content
A newer version of this page is available.
All docs
V19.1

PrintHelper.ShowRibbonPrintPreview(FrameworkElement, IPrintable) Method

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

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v19.1.dll

Declaration

public static Window ShowRibbonPrintPreview(
    FrameworkElement owner,
    IPrintable source
)

Parameters

Name Type Description
owner FrameworkElement

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

source IPrintable

An object implementing the IPrintable interface.

Returns

Type Description
Window

A Window object.

See Also