ArcGIS Pro 2.7 API Reference Guide
ClosePopups Method

ArcGIS.Desktop.Mapping Namespace > MapView Class : ClosePopups Method
Overload List
OverloadDescription
Close all popup windows whether pinned or not pinned (active). You must be on the UI thread to call this function  
Close all popup windows containing any of the provided popup content whether pinned or not pinned (active). You must be on the UI thread to call this function  
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapView Class
MapView Members