A newer version of this page is available. Switch to the current version.

ReportDataSourceHelper.SetXafReportParametersObject(XtraReport, ReportParametersObjectBase) Method

Adds a ReportParametersObjectBase descendant object that specifies report parameters to the XtraReport.Parameters collection (if this object exists).

Namespace: DevExpress.ExpressApp.ReportsV2

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


public virtual void SetXafReportParametersObject(
    XtraReport report,
    ReportParametersObjectBase parametersObject


Name Type Description
report XtraReport

An XtraReport object that specifies the report.

parametersObject ReportParametersObjectBase

A ReportParametersObjectBase object that specifies report parameters.


The SetXafReportParametersObject method is called by the ReportDataSourceHelper.SetupReport method. The SetXafReportParametersObject method is virtual, so you can override it to customize its behavior. To use your own implementation of the ReportDataSourceHelper class, assign its instance to the ReportsModuleV2.ReportsDataSourceHelper property.

See Also