Skip to main content

Register Custom Report Parameter Types

You can create custom parameter types, use them in an End-User Report Designer for WinForms, and store in the XML-based report layout file (REPX).

View Example: Reporting for WinForms - How to Serialize Custom Type Parameters

Do the following to register a custom parameter type:

  1. Create a custom report design extension inherited from the ReportDesignExtension class.
  2. Override the ReportDesignExtension.AddParameterTypes method to register a custom parameter type.
  3. Register a custom extension using the ReportDesignExtension.RegisterExtension method.
  4. Assign a selected report to the extension using the ReportDesignExtension.AssociateReportWithExtension method.

The custom parameter type becomes available for the specified report in the Report Designer:

report-designer-win-custom-parameter-types