Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

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.

Remarks

Note

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ParametersRequestSubmit event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Implements

DevExpress.XtraReports.IReport.ParametersRequestSubmit
See Also