Skip to main content
.NET 8.0+

ReportServiceController.SetupBeforePrint(XtraReport, ReportParametersObjectBase, CriteriaOperator, Boolean, SortProperty[], Boolean) Method

Prepares the report for further printing.

Namespace: DevExpress.ExpressApp.ReportsV2

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

Declaration

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

Parameters

Name Type Description
report XtraReport

An XtraReport object that specifies the report.

parametersObject ReportParametersObjectBase

A ReportParametersObjectBase object that specifies report parameters.

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

To see an example of using this method, refer to the How to: Use the Custom Report Preview Form topic.

See Also