ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / CustomControl Class / ClosePopup Method

In This Topic
    ClosePopup Method (CustomControl)
    In This Topic
    Close the Popup if hosted in a drop down button.
    Syntax
    protected void ClosePopup()
    Protected Sub ClosePopup() 
    Remarks
    It is sometimes necessary to manually close the Popup; for example, when 'staysOpenOnClick' is set to true and a button on the control needs to finally close the Popup.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also