PrintHelper.ShowPrintPreview(FrameworkElement, IPrintableControl, String) Method
Creates a document from the specified control, and shows it in the Document Preview window.
Namespace: DevExpress.Xpf.Printing
Assembly: DevExpress.Xpf.Printing.v25.1.dll
NuGet Package: DevExpress.Wpf.Printing
Declaration
public static Window ShowPrintPreview(
FrameworkElement owner,
IPrintableControl source,
string documentName
)
Parameters
| Name | Type | Description |
|---|---|---|
| owner | FrameworkElement | A FrameworkElement object, which is the owner of the dialog. |
| source | IPrintableControl | An object implementing the IPrintableControl interface. |
| documentName | String | A String value, specifying the document name. |
Returns
| Type | Description |
|---|---|
| Window | A Window object. |
See Also