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

BackstagePrintPreview.DocumentSource Property

Specifies the document source. This is a dependency property.

Namespace: DevExpress.Xpf.Printing

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

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

Declaration

public object DocumentSource { get; set; }

Property Value

Type Description
Object

A Object value that specifies the document source.

Remarks

The DocumentSource property allows you to provide the required document source to the BackstagePrintPreview. 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 Backstage Print Preview for more information.

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

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.

See Also