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