Back to Devexpress

PrintHelper.ShowPrintPreview(FrameworkElement, LinkBase) Method

wpf-devexpress-dot-xpf-dot-printing-dot-printhelper-dot-showprintpreview-x28-system-dot-windows-dot-frameworkelement-devexpress-dot-xpf-dot-printing-dot-linkbase-x29.md

latest2.1 KB
Original Source

PrintHelper.ShowPrintPreview(FrameworkElement, LinkBase) Method

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

Namespace : DevExpress.Xpf.Printing

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

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public static Window ShowPrintPreview(
    FrameworkElement owner,
    LinkBase link
)
vb
Public Shared Function ShowPrintPreview(
    owner As FrameworkElement,
    link As LinkBase
) As Window

Parameters

NameTypeDescription
ownerFrameworkElement

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

| | link | LinkBase |

A LinkBase descendant.

|

Returns

TypeDescription
Window

A Window object.

|

See Also

Create a Report in Visual Studio

PrintHelper Class

PrintHelper Members

DevExpress.Xpf.Printing Namespace