Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ReportProviderContext Class

Specifies the root report for a subreport.

Namespace: DevExpress.XtraReports.Services

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public class ReportProviderContext

#Remarks

The ReportProviderContext instance is passed to the IReportProvider.GetReport method to identify a root report for the subreport.

ReportProviderContext is primarily designed for complex scenarios where subreports are identified by their name and instance (XRSubreport.ReportSourceUrl and SubreportBase.ReportSource properties, respectively). In general, this parameter is not relevant for web applications and can be ignored in most situations.

#Inheritance

Object
ReportProviderContext
See Also