ArcGIS Pro 2.9 API Reference Guide
Panes Property

ArcGIS.Desktop.Framework Namespace > FrameworkApplication Class : Panes Property
Gets all the active pane instances; this singleton also lets you activate, create, and close panes.
Syntax
public static PaneCollection Panes {get;}
Public Shared ReadOnly Property Panes As PaneCollection
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

FrameworkApplication Class
FrameworkApplication Members
Pane Class