devexpress-reporting-wpf

Integrate DevExpress report preview, printing, and designer controls into WPF applications.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/AleksaRistic216/dotnet-playground --skill devexpress-reporting-wpf-aleksaristic216
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devexpress-reporting-wpf
Source: https://github.com/AleksaRistic216/dotnet-playground/tree/main/.github/skills/reporting/devexpress-reporting-wpf
Command: npx skills add https://github.com/AleksaRistic216/dotnet-playground --skill devexpress-reporting-wpf-aleksaristic216

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Embedding report previews, print functionality, and end-user report designers into WPF applications requires correct NuGet setup, XAML namespaces, licensing awareness, and MVVM binding patterns that are easy to get wrong. ## Core Features & Use Cases - Print Preview: Show report previews using PrintHelper or the DocumentPreviewControl with Ribbon or Bars toolbars. - End-User Report Designer: Embed the ReportDesigner WPF control and control it from a ViewModel via an MVVM service pattern. - MVVM & Large Reports: Bind reports to ViewModels, pass parameters, and handle large reports with CachedReportSource for responsive UI. - Use Case: A developer building a .NET 8 WPF line-of-business app needs to let users preview a sales report, filter it by category parameter, and optionally edit layouts in a designer window. ## Quick Start Ask the AI to add a DevExpress report print preview to your WPF window using PrintHelper or a DocumentPreviewControl bound to your ViewModel.

Frequently Asked Questions about devexpress-reporting-wpf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I show a report print preview in a WPF application?

Use PrintHelper.ShowRibbonPrintPreviewDialog for a modal preview with no XAML changes, or embed a DocumentPreviewControl in XAML with RequestDocumentCreation set to True and assign your XtraReport to its DocumentSource property.

How do I bind a DevExpress report to a ViewModel in WPF MVVM?

Expose an XtraReport property on your ViewModel using ViewModelBase or INotifyPropertyChanged, then bind DocumentPreviewControl.DocumentSource to that property with RequestDocumentCreation="True" so the document builds automatically.

Does the WPF ReportDesigner control require a separate license?

Yes, embedding the ReportDesigner WPF control requires the DevExpress WPF subscription. The Reporting subscription alone covers DocumentPreviewControl and PrintHelper for preview and export scenarios.

Why does DocumentPreviewControl stay blank in WPF?

The most common cause is a missing RequestDocumentCreation="True" attribute, which prevents automatic document building when DocumentSource is assigned. Also verify the report DataSource is set and check the Output window for silent exceptions.

How do I handle large reports in a WPF preview without freezing the UI?

Wrap the report in a CachedReportSource with MemoryDocumentStorage or FileDocumentStorage, assign it to DocumentSource, and call CreateDocumentAsync. The preview shows progress while the document builds asynchronously.

Can I use DevExpress WPF Reporting on .NET Framework 4.x?

Yes, .NET Framework 4.6.2+ is supported via the DevExpress.Wpf.Reporting NuGet package or direct assembly references. You may need app.config binding redirects, unlike .NET 6+ projects which require UseWPF in the csproj.