Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for WPF - How to create a report in code

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 class instance and bind it to data.
  2. Add bands to the report.
  3. Add controls to the created bands and bind them to data.

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

Report in WPF

Starting with v.17.2, the report uses binding expressions to bind controls to data. You can switch to the legacy binding mode by setting the UserDesignerOptions.DataBindingMode property to Bindings at the application start.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

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