ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TrayButton Class / OnShowPopup Method

In This Topic
    OnShowPopup Method
    In This Topic
    Occurs when the popup is opened.
    Syntax
    protected virtual void OnShowPopup()
    Protected Overridable Sub OnShowPopup() 
    Remarks

    Only available if ButtonType is TrayButtonType.PopupToggleButton

    This could be useful to perform anything necessary once the popup opens.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also