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

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, Windows 8.1

ArcGIS Pro version: 2.7 or higher.
See Also