Skip to main content
All docs
V24.1
.NET Framework 4.5.2+

ReportDataSourceHelperBase.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.Services

Assembly: DevExpress.ExpressApp.ReportsV2.v24.1.dll

Declaration

public virtual void SetXafReportParametersObject(
    XtraReport report,
    ReportParametersObjectBase parametersObject
)

Parameters

Name Type Description
report XtraReport

An XtraReport object that specifies the report.

parametersObject ReportParametersObjectBase

A ReportParametersObjectBase object that specifies report parameters.

Remarks

The SetXafReportParametersObject method is called by the ReportDataSourceHelperBase.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