Skip to main content
All docs
V24.2
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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