ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / CloseActivePopup Method

In This Topic
    CloseActivePopup Method
    In This Topic
    Closes the active popup window. You must be on the UI thread to call this function
    Syntax
    public void CloseActivePopup()
    Public Sub CloseActivePopup() 
    Exceptions
    ExceptionDescription
    Popups cannot be accessed from a thread other than the thread they were created on
    Remarks
    Note: If a popup window is pinned it is no longer considered "active". Use ClosePopups overloads instead
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also