ReportsWindowsFormsModuleV2.CreateCustomReportDesignRepositoryItem Event

Occurs when a Repository Item is created for the report parameter.

Namespace: DevExpress.ExpressApp.ReportsV2.Win

Assembly: DevExpress.ExpressApp.ReportsV2.Win.v18.2.dll


public static event EventHandler<CreateCustomReportDesignRepositoryItemEventArgs> CreateCustomReportDesignRepositoryItem
Public Shared Event CreateCustomReportDesignRepositoryItem As EventHandler(Of CreateCustomReportDesignRepositoryItemEventArgs)

The CreateCustomReportDesignRepositoryItem event handler receives an argument of the CreateCustomReportDesignRepositoryItemEventArgs type. The following properties provide information specific to this event.

Property Description
Application Gets an application object.
DataColumnInfo Gets information on the data column.
DataType Gets the type of the report parameter value.
Parameter Gets the report parameter.
Report Gets a report object.
RepositoryItem Specifies the Repository Item created for the report parameter.

Handle this static event to specify a custom RepositoryItem used to edit a parameter value when a report is being previewed. Pass your repository item via the handler's CreateCustomReportDesignRepositoryItemEventArgs.RepositoryItem parameter and set the Handled parameter to true. The specified control will be used for any report in the application. An example is provided in the How to: Use a Custom Editor for an XtraReport Parameter topic.

See Also