ArcGIS Pro 2.6 API Reference Guide
DockPanes Property

ArcGIS.Desktop.Framework Namespace > DockPaneManager Class : DockPanes Property
Gets the instantiated dock panes.
Syntax
Remarks
Dock panes are singletons and never get destroyed once created. Closing a dock pane only hides it. Use Find to create and find a dock pane.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

DockPaneManager Class
DockPaneManager Members