ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / ClosePopups Method / ClosePopups() Method
Version

ClosePopups() Method
Close all popup windows whether pinned or not pinned (active). You must be on the UI thread to call this function
Syntax
public void ClosePopups()
Exceptions
ExceptionDescription
Popups cannot be accessed from a thread other than the thread they were created on
Remarks
This includes custom popups and layer popups (if open)
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also