The requested page is not available for the requested platform. You are viewing the content for Default platform.

ReportDesignExtension.RegisterExtension(ReportDesignExtension, String) Method

Registers the custom report design extension to serialize custom parameter types.

Namespace: DevExpress.XtraReports.Extensions

Assembly: DevExpress.XtraReports.v19.1.Extensions.dll

Declaration

public static void RegisterExtension(
    ReportDesignExtension extension,
    string contextName
)
Public Shared Sub RegisterExtension(
    extension As ReportDesignExtension,
    contextName As String
)

Parameters

Name Type Description
extension ReportDesignExtension

A ReportDesignExtension object.

contextName String

A String value, identifying the context.

Remarks

You can use the RegisterExtension property to serialize custom report parameters along with a report's definition.

To provide parameters of custom types to your report, you should create a custom report design extension inherited from the ReportDesignExtension class.

Then, register the extension (using the RegisterExtension method) and associate the report with the custom extension (using the ReportDesignExtension.AssociateReportWithExtension method).

See the following tutorials to learn how to register custom parameter types in reporting applications created for different platforms:

See Also