ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TrayButton Class / ClosePopup Method

In This Topic
    ClosePopup Method
    In This Topic
    Helper method, provides a way to programmatically close the popup.
    Syntax
    protected void ClosePopup()
    Protected Sub ClosePopup() 
    Remarks

    Only available if ButtonType is TrayButtonType.PopupToggleButton

    This could be useful in the case of popup contents containing a button that, when clicked, opens some other dialog.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also