Skip to content

DevExpress-Examples/reporting-wpf-create-report-in-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files to look at:

How to dynamically generate a report in a WPF application

This example illustrates the process of creating a report in code in a WPF application. 

The following steps are essential to create a report layout:

1. Create a report instance and bind it to data.

2. Add required bands to the report.

3. Add required controls to the created bands and provide data to them.

After the report layout is complete, you can generate the report document and display it in a Print Preview.

Starting with v.17.2, the report uses expression bindings to provide data to controls. You can switch to the legacy binding mode by setting the UserDesignerOptions.DataBindingMode property to Bindings at the application startup.


Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)