PrintHelper.ShowPrintPreview(FrameworkElement, IPrintableControl) Method
In This Article
Creates a document from the specified control, and shows it in the Document Preview window.
Namespace: DevExpress.Xpf.Printing
Assembly: DevExpress.Xpf.Printing.v24.2.dll
NuGet Package: DevExpress.Wpf.Printing
#Declaration
public static Window ShowPrintPreview(
FrameworkElement owner,
IPrintableControl source
)
#Parameters
Name | Type | Description |
---|---|---|
owner | Framework |
A Framework |
source | IPrintable |
An object implementing the IPrintable |
#Returns
Type | Description |
---|---|
Window | A Window object. |
See Also