Skip to main content
.NET 6.0+

CustomShowPreviewEventArgs(String, ReportParametersObjectBase, CriteriaOperator, Boolean, SortProperty[], Boolean, ShowViewParameters) Constructor

Initializes a new instance of the CustomShowPreviewEventArgs class.

Namespace: DevExpress.ExpressApp.ReportsV2

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

Declaration

public CustomShowPreviewEventArgs(
    string reportContainerHandle,
    ReportParametersObjectBase parametersObject,
    CriteriaOperator criteria,
    bool canApplyCriteria,
    SortProperty[] sortProperty,
    bool canApplySortProperty,
    ShowViewParameters showViewParameters
)

Parameters

Name Type Description
reportContainerHandle String

A string that specifies the handle of the ReportContainer object.

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.

showViewParameters ShowViewParameters

A ShowViewParameters object used to display a Detail View with a report preview.

Remarks

Since instances of the CustomShowPreviewEventArgs class are automatically created and passed to handlers of the ReportServiceController.CustomShowPreview event, you do not need to call this constructor from your applications.

See Also