This document is archived and information here might be outdated.  Recommended version.


IMenuItem.OnPopup Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IM > IMenuItem Interface > IMenuItem.OnPopup Method
ArcGIS Developer Help

IMenuItem.OnPopup Method

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
);

Product Availability

Available with ArcGIS Desktop.

See Also

IMenuItem Interface