A control used to print documents in WPF applications and easily incorporated into a Backstage View-based menu.
NuGet Package: DevExpress.Wpf.Printing
public class BackstagePrintPreview : Control<BackstagePrintPreview>
Public Class BackstagePrintPreview Inherits Control(Of BackstagePrintPreview)
Related API Members
The following members return BackstagePrintPreview objects:
BackstagePrintPreview control replicates the Print screen available in Microsoft Office applications. This control displays its source document’s preview on the right side and allows you to customize various print options on the left side.
The BackstagePrintPreview.DocumentSource property allows you to provide the required document source to the Backstage Print Preview. This control supports the following document source types:
- An object implementing the ILink interface.
- An object implementing the IReport interface.
- Stream containing report document data.
- A string containing a path to a file that stores report document data (a PRNX file).
See the Backstage Print Preview topic for more information.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BackstagePrintPreview class.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.