XtraReport.ParametersRequestSubmit Event

Occurs when all parameter values in the Parameters UI are entered, and the Submit button is pressed.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v21.2.dll


public event EventHandler<ParametersRequestEventArgs> ParametersRequestSubmit

Event Data

The ParametersRequestSubmit event's data class is ParametersRequestEventArgs. The following properties provide information specific to this event:

Property Description
ParametersInformation Provides access to information about the requested parameters.



The ParametersRequestSubmit event fires only for desktop applications (Windows Forms and WPF).

Use the ParametersRequestSubmit event to customize the Parameters UI (e.g. to perform some error checking when an end-user submits parameter values). The ParametersRequestEventArgs class introduces the ParametersRequestEventArgs.ParametersInformation property, which provides access to information about parameters. Each ParameterInfo class contains information about the ParameterInfo.Parameter itself, as well as about the ParameterInfo.Editor which is used to enter the parameter’s value.

When the ParametersRequestSubmit event is raised, each parameter returned by the ParameterInfo.Parameter property contains a value that was set before the Parameters UI is invoked. If you want to access the values entered by an end-user into the Parameters UI, use the values provided by the ParameterInfo.Editor property instead.

To learn more, see Using Report Parameters.


See Also