Skip to main content
All docs
V24.2
.NET 8.0+

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

#Declaration

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

#Parameters

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.

#Remarks

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

See Also