Skip to main content

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.v23.2.dll

NuGet Package: 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowRibbonPrintPreview(FrameworkElement, LinkBase) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also