Skip to main content
A newer version of this page is available. .

BackstagePrintPreview Class

A control used to print documents in WPF applications and easily incorporated into a Backstage View-based menu.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Printing, DevExpress.Wpf.Printing

Declaration

public class BackstagePrintPreview :
    Control<BackstagePrintPreview>

The following members return BackstagePrintPreview objects:

Remarks

The 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.

wpf-backstage-print-preview

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BackstagePrintPreview class.

Note

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.

Inheritance

See Also