Skip to main content
.NET 6.0+

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

Adds the specified predefined report to the PredefinedReportsUpdater instance.

Namespace: DevExpress.ExpressApp.ReportsV2

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

Declaration

public void AddPredefinedReport<T>(
    string displayName,
    Type dataType,
    Type parametersObjectType
)
    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).

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