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

OnShowPopup Method
Occurs when the popup is opened.
Syntax
protected virtual void 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