This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IM > IMenuItem Interface > IMenuItem.OnPopup Method (ArcObjects .NET 10.4 SDK) |
Called on commands just before their parent menu is displayed.
[Visual Basic .NET] Public Sub OnPopup ( _ ByVal pParentMenu As ICommandBar _ )
[C#] public void OnPopup ( ICommandBar pParentMenu );