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

PrintHelper.ShowRibbonPrintPreview(FrameworkElement, LinkBase) Method

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

Namespace: DevExpress.Xpf.Printing

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

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

Declaration

public static Window ShowRibbonPrintPreview(
    FrameworkElement owner,
    LinkBase link
)

Parameters

Name Type Description
owner FrameworkElement

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

link LinkBase

A LinkBase descendant.

Returns

Type Description
Window

A Window object.

See Also