Back to Devexpress

DrillThroughContext.Report Property

xtrareports-devexpress-dot-xtrareports-dot-web-dot-webdocumentviewer-dot-drillthroughcontext.md

latest2.2 KB
Original Source

DrillThroughContext.Report Property

Provides access to the report that is currently being previewed.

Namespace : DevExpress.XtraReports.Web.WebDocumentViewer

Assembly : DevExpress.XtraReports.v25.2.Web.dll

NuGet Package : DevExpress.Web.Reporting.Common

Declaration

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

Property Value

TypeDescription
XtraReport

An XtraReport object.

|

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.

reporting-asp-net-core-drill-through/CS/Services/CustomDrillThroughProcessorAsync.cs#L22

csharp
: navigateInfo.NavigateTo == "details" ? "DetailReport1" : null;
var report = await reportProviderAsync.GetReportAsync(reportNameToOpen, null) ?? context.Report;

See Also

DrillThroughContext Class

DrillThroughContext Members

DevExpress.XtraReports.Web.WebDocumentViewer Namespace