ReportDataSourceHelperBase.SetupReportDataSource(XtraReport, CriteriaOperator, Boolean, SortProperty[], Boolean) Method
Passes criteria and sorting to the report data source.
Namespace: DevExpress.ExpressApp.ReportsV2.Services
Assembly: DevExpress.ExpressApp.ReportsV2.v24.2.dll
NuGet Package: DevExpress.ExpressApp.ReportsV2
#Declaration
public void SetupReportDataSource(
XtraReport report,
CriteriaOperator criteria,
bool canApplyCriteria,
SortProperty[] sortProperty,
bool canApplySortProperty
)
#Parameters
Name | Type | Description |
---|---|---|
report | Xtra |
An Xtra |
criteria | Criteria |
A Criteria |
can |
Boolean | true, if the criteria can be applied; otherwise, false. |
sort |
Sort |
An array of Sort |
can |
Boolean | true, if the sorting can be applied; otherwise, false. |
#Remarks
The SetupReportDataSource method is called by the ReportDataSourceHelperBase.SetupReport method. You can customize the SetupReportDataSource method behavior by handling the ReportDataSourceHelper.CustomSetupReportDataSource event.