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

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, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also