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

XtraReportPreviewModel Class

OBSOLETE

The DocumentPreview and corresponding xxxPreviewModel classes and interfaces are now obsolete. Use the DocumentPreviewControl class to display a print preview. More information: https://www.devexpress.com/Support/WhatsNew/DXperience/files/16.1.2.bc.xml#BC3444

Obsolete. Provides the Preview Model functionality for XtraReports.

Namespace: DevExpress.Xpf.Printing

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

Declaration

[Obsolete("The DocumentPreview and corresponding xxxPreviewModel classes and interfaces are now obsolete. Use the DocumentPreviewControl class to display a print preview. More information: https://www.devexpress.com/Support/WhatsNew/DXperience/files/16.1.2.bc.xml#BC3444")]
public class XtraReportPreviewModel :
    LegacyLinkPreviewModel

Remarks

To display a default Print Preview without creating a custom preview window, use the methods of the PrintHelper class.

To create a custom Print Preview window, use the DocumentPreviewWindow class.

The following code snippets (auto-collected from DevExpress Examples) contain references to the XtraReportPreviewModel 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.

See Also