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

See Also

Reference

PaneCollection Class
PaneCollection Members