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
NuGet Package: DevExpress.ExpressApp.ReportsV2
Declaration
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.