A newer version of this page is available. Switch to the current version.

ReportDataSourceHelper.SetupReportDataSource(XtraReport, CriteriaOperator, Boolean, SortProperty[], Boolean) Method

Passes criteria and sorting to the report data source.

Namespace: DevExpress.ExpressApp.ReportsV2

Assembly: DevExpress.ExpressApp.ReportsV2.v18.2.dll


public void SetupReportDataSource(
    XtraReport report,
    CriteriaOperator criteria,
    bool canApplyCriteria,
    SortProperty[] sortProperty,
    bool canApplySortProperty


Name Type Description
report XtraReport

An XtraReport object that specifies the report.

criteria CriteriaOperator

A CriteriaOperator object used to filter data.

canApplyCriteria Boolean

true, if the criteria can be applied; otherwise, false.

sortProperty SortProperty[]

An array of SortProperty objects which specifies data sorting.

canApplySortProperty Boolean

true, if the sorting can be applied; otherwise, false.


The SetupReportDataSource method is called by the ReportDataSourceHelper.SetupReport method. You can customize the SetupReportDataSource method behavior by handling the ReportDataSourceHelper.CustomSetupReportDataSource event.

See Also