Back to Devexpress

PrintHelper.ShowPrintPreview(FrameworkElement, LinkBase, String) Method

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

latest2.4 KB
Original Source

PrintHelper.ShowPrintPreview(FrameworkElement, LinkBase, String) 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,
    string title
)
vb
Public Shared Function ShowPrintPreview(
    owner As FrameworkElement,
    link As LinkBase,
    title As String
) As Window

Parameters

NameTypeDescription
ownerFrameworkElement

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

| | link | LinkBase |

A LinkBase descendant.

| | title | String |

A String value, specifying the Document Preview dialog’s title. “Print Preview” by default.

|

Returns

TypeDescription
Window

A Window object.

|

See Also

Create a Report in Visual Studio

PrintHelper Class

PrintHelper Members

DevExpress.Xpf.Printing Namespace