DevExpress-Examples / 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).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Other


Languages

Language:C# 82.6%Language:Visual Basic .NET 17.4%