Question

Does anyone know of a Reporting Engine for WPF? Most of the ones I could find are still for WinForms.

I'm happy enough using a WinForms one in WPF with a WinForms host so long as the tool has a UserControl that can be embedded in a window.

Also, I'm not using a database and all my data is in XML so the Reporting Engine needs to be able to handle that.

Any suggestions?

Was it helpful?

Solution 2

We've ended up going with Telerik, but as a WinForms solution embedded in WPF. There are no WPF report viewers that can handle non-database report sources as of Jan 2009.

There seems to be a hole in the marketplace.

OTHER TIPS

Perhaps you can do the reporting in a FixedDocument of FlowDocument? I had the same issue, and in my situation (printing of a 1 page invoice), using a FixedDocument was an elegant and easy solution... (and inexpensive since i didn't need to buy a 3rd party reporting suite...)

Here where I work, we use Stimulsoft Reports.Net. It can bind to a lot of things (including XML), and it can export to XPS, which you can then show in WPF using a DocumentViewer, or, if you're ambitious, you can rip open the XPS document using the XPS API, take the Glyphs and Paths out of every FixedPage, throw them on a Canvas, and display it in your app.

There is an open source .NET Reporting Engine for WPF. It supports headers and footers, DataTable binding, barcode generation and XPS creation. Not sure about XML binding though.

ComponentOne Reports can handle non database report sources and it is WPF based. I tried it, and it seems quite decent

I have released this, its open source and just takes any usercontrol you can create in WPF so its pretty flexible.

https://wpfreportingengine.codeplex.com/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top