ReportsWindowsFormsModuleV2.CreateCustomReportDesignRepositoryItem Event
Occurs when a Repository Item is created for the report parameter.
Namespace: DevExpress.ExpressApp.ReportsV2.Win
Assembly: DevExpress.ExpressApp.ReportsV2.Win.v24.2.dll
NuGet Package: DevExpress.ExpressApp.ReportsV2.Win
#Declaration
public static event EventHandler<CreateCustomReportDesignRepositoryItemEventArgs> CreateCustomReportDesignRepositoryItem
#Event Data
The CreateCustomReportDesignRepositoryItem event's data class is CreateCustomReportDesignRepositoryItemEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Application | Gets an application object. |
Criteria |
Specifies the criteria that filters the collection of report parameter objects. |
Data |
Gets information on the data column. |
Data |
Gets the type of the report parameter value. |
Handled |
Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing.
Inherited from Handled |
Parameter | Gets the report parameter. |
Report | Gets a report object. |
Repository |
Specifies the Repository Item created for the report parameter. |
#Remarks
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.