ArcGIS Pro 2.7 API Reference Guide
ActiveWindow Property

ArcGIS.Desktop.Framework Namespace > FrameworkApplication Class : ActiveWindow Property
Gets the ArcGIS.Desktop.Framework.Contracts.Pane or ArcGIS.Desktop.Framework.Contracts.DockPane that is currently active.
Syntax
public static IFrameworkWindow ActiveWindow {get;}
Public Shared ReadOnly Property ActiveWindow As IFrameworkWindow
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

FrameworkApplication Class
FrameworkApplication Members