Target Platform/Framework: Desktop DevExpress Product Libraries Used: .NET Reporting (https://www.devexpress.com/subscriptions/reporting) Available in the following DevExpress Subscription(s): Universal, DXperience, WPF, Reporting
Install
| Product | Versions |
|---|---|
| .NET | |
| Other |
README
DevExpress WPF Reporting Controls
The DevExpress.Wpf.Reporting package includes DevExpress reporting controls for WPF applications: End-User Report Designer, Document Preview, and supporting UI components. Use these controls to allow end users to design, preview, and print reports directly within WPF desktop applications.
Included Components
- End-User Report Designer — A drag-and-drop report design surface for WPF. The designer allows end users to create and modify reports at runtime.
- Document Preview — An interactive document preview control with zoom, page navigation, search, and export features.
Examples
Review the following sections for more information:
Open the Built-in Report Designer
using DevExpress.Xpf.Reports.UserDesigner;
using DevExpress.XtraReports.UI;
var report = new XtraReport1();
// Display the built-in Report Designer window.
ReportDesigner.ShowWindow(report);
Open the Built-in Document Preview
using DevExpress.Xpf.Printing;
using DevExpress.XtraReports.UI;
// Display the built-in ribbon-based Document Preview window.
PrintHelper.ShowRibbonPrintPreview(new XtraReport1());
// Or display the standard Document Preview window.
// PrintHelper.ShowPrintPreview(this, new XtraReport1());
Add a Report Designer to a WPF Window
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner">
<dxrud:ReportDesigner DocumentSource="{Binding Report}" />
</Window>
Display a Report in the Document Preview
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dxrp="http://schemas.devexpress.com/winfx/2008/xaml/reports">
<dxrp:DocumentPreviewControl ReportSource="{Binding Report}" />
</Window>
using DevExpress.Xpf.Printing;
using DevExpress.XtraReports.UI;
// Open the Document Preview with a report
PrintHelper.ShowPrintPreview(owner, new XtraReport1());
Evaluation Period, Pricing Options, and Licensing Terms
Whether you own a license or want to start a 30-day evaluation period, register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For additional registration instructions, see License Key for DevExpress Products.
If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation version warnings/messages.
This package is included in the following commercial subscriptions:
- DevExpress Reporting Subscription
- DevExpress WPF Subscription
- DevExpress DXperience Subscription
- DevExpress Universal Subscription
To customize the DevExpress Reporting components UI in your application code, you need a valid WPF, DXperience, or Universal subscription (subscriptions that include DevExpress WPF UI Controls). Refer to the following help topic for information on licensing: Installation - Subscriptions that Include Reporting Components.
Documentation
- WPF Reporting Overview
- End-User Report Designer for WPF
- Document Preview (WPF)
- WPF Reporting — Redistribution and Deployment
Software Bill of Materials (SBOM)
To access SBOM files for DevExpress packages, please refer to the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.
See Also: Information Security | Security - What You Need to Know
Useful Online Resources
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.