Skip to content

DevExpress-Examples/reporting-winforms-parameter-custom-type-serialization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for WinForms - How to Serialize Custom Type Parameters

This example shows how to enable a report parameter of a custom System.Enum type and serialize that parameter so that it can be stored in the report layout file (REPX).

The code does the following:

  1. Creates a custom class inherited from the ReportDesignExtension class.
  2. Overrides the ReportDesignExtension.AddParameterTypes method to register a custom parameter type.
  3. Registers a custom extension using the ReportDesignExtension.RegisterExtension method.
  4. Assigns the report to the created extension using the ReportDesignExtension.AssociateReportWithExtension method.

Custom Type Parameter

Files to Review

Documentation

More Examples

About

This example shows how to enable a report parameter of a custom System.Enum type and serialize that parameter so that it can be stored in the report layout file (REPX).

Topics

Resources

License

Stars

Watchers

Forks