ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Reports Namespace / ReportView Class / Active Property
Example Version

Active Property (ReportView)
Gets the active report view.
Syntax
public static ReportView Active {get;}
Remarks
Returns null if there is no active report view.
Example
Reference the active report view
//Confirm if the current, active view is a report view.  If it is, do something.
ReportView activeReportView = ReportView.Active;
if (activeReportView != null)
{
  // do something
}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also