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

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

Primary LanguageC#OtherNOASSERTION

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)