Skip to content

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).

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 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

Does this example address your development requirements/objectives?

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

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