Skip to main content
A newer version of this page is available. .

ReportGenerator.GenerateReport(BaseView, ReportGenerationOptions, Boolean) Method

Generates a new report using the specified grid view.

Namespace: DevExpress.XtraReports.ReportGeneration

Assembly: DevExpress.XtraReports.v19.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

Declaration

public static XtraReport GenerateReport(
    BaseView view,
    ReportGenerationOptions options,
    bool useExpressionBindings
)

Parameters

Name Type Description
view BaseView

A BaseView descendant.

options ReportGenerationOptions

A ReportGenerationOptions object.

useExpressionBindings Boolean

true, to use expression bindings; false, to use the legacy binding mode.

Returns

Type Description
XtraReport

An XtraReport object.

See Also