Skip to main content
.NET 6.0+

PredefinedReportsUpdater.AddPredefinedReport<T>(String, Type, Type, Boolean) Method

Adds the specified predefined report to the PredefinedReportsUpdater instance.

Namespace: DevExpress.ExpressApp.ReportsV2

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

Declaration

public void AddPredefinedReport<T>(
    string displayName,
    Type dataType,
    Type parametersObjectType,
    bool isInplaceReport
)
    where T : XtraReport

Parameters

Name Type Description
displayName String

A string which is the report’s display name.

dataType Type

A type of the business object used by the report’s data source.

parametersObjectType Type

A type of Parameters Object (see Data Filtering in Reports V2).

isInplaceReport Boolean

A boolean value that indicates whether or not the report is an inplace report.

Type Parameters

Name
T

Remarks

The AddPredefinedReport<T> method’s generic parameter specifies the report type (the type of an XtraReport descendant specifying the predefined report layout). An example of using this method is available in the PredefinedReportsUpdater topic.

See Also