ArcGIS Pro 2.9 API Reference Guide
CloseAllPanes Method

ArcGIS.Desktop.Framework Namespace > PaneCollection Class : CloseAllPanes Method
Close all open panes.
Syntax
public void CloseAllPanes()
Public Sub CloseAllPanes() 
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

PaneCollection Class
PaneCollection Members