This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IM > IMenuItem Interface > IMenuItem.OnPopup Method (ArcObjects .NET 10.5 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 );