ArcGIS Pro 2.6 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, Windows 7

See Also

Reference

FrameworkApplication Class
FrameworkApplication Members