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.1.dll

Declaration

public virtual void SetXafReportParametersObject(
    XtraReport report,
    ReportParametersObjectBase parametersObject
)
Public Overridable Sub SetXafReportParametersObject(
    report As XtraReport,
    parametersObject As ReportParametersObjectBase
)

Parameters

Type Name Description
XtraReport report

An XtraReport object that specifies the report.

ReportParametersObjectBase parametersObject

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