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

How to create a report in code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

How to create a report in code

License:Other


Languages

Language:Visual Basic .NET 50.0%Language:C# 50.0%