ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Reports Namespace / IReportPane Interface / ReportView Property
Example

In This Topic
    ReportView Property
    In This Topic
    Gets the report view contained within the pane.
    Syntax
    ReportView ReportView {get;}
    ReadOnly Property ReportView As ReportView
    Example
    Activate an already open report view
    Report report = Project.Current.GetItems<ReportProjectItem>().FirstOrDefault().GetReport();
    var reportPane = FrameworkApplication.Panes.FindReportPanes(report).Last();
    if (reportPane == null)
      return;
    //Activate the pane
    (reportPane as ArcGIS.Desktop.Framework.Contracts.Pane).Activate();
    //Get the "ReportView" associated with the Report Pane.
    ReportView reportView = reportPane.ReportView;
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also