Back to Devexpress

IReportContainer.Report Property

expressappframework-devexpress-dot-expressapp-dot-reportsv2-dot-ireportcontainer.md

latest3.0 KB
Original Source

IReportContainer.Report Property

Gets the report markup.

Namespace : DevExpress.ExpressApp.ReportsV2

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

NuGet Package : DevExpress.ExpressApp.ReportsV2

Declaration

csharp
XtraReport Report { get; }
vb
ReadOnly Property Report As XtraReport

Property Value

TypeDescription
XtraReport

An XtraReport object that specifies the report markup.

|

Remarks

An example of using this property is provided in the How to: Print a Report Without Displaying a Preview topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Report property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xaf-print-a-report-without-displaying-a-preview/CS/InstantPrintReportsV2Example.Web/InstantPrintReport.aspx.cs#L22

csharp
try {
    report = ReportDataProvider.ReportsStorage.GetReportContainerByHandle(reportDataHandle).Report;
    module.ReportsDataSourceHelper.SetupBeforePrint(report, null, null, false, null, false);

xaf-print-a-report-without-displaying-a-preview/VB/InstantPrintReportsV2Example.Web/InstantPrintReport.aspx.vb#L24

vb
Try
    report = ReportDataProvider.ReportsStorage.GetReportContainerByHandle(reportDataHandle).Report
    [module].ReportsDataSourceHelper.SetupBeforePrint(report, Nothing, Nothing, False, Nothing, False)

See Also

IReportContainer Interface

IReportContainer Members

DevExpress.ExpressApp.ReportsV2 Namespace