Fired when a context menu should be displayed at the given xy location. Returns true if handled.
[Visual Basic 6.0] Event OnContextMenu(
ByVal x As Long, _
ByVal y As Long, _
handled As Boolean _
)
[Visual Basic .NET] Public Event OnContextMenu As OnContextMenuEventHandler
[C#] public event OnContextMenuEventHandler OnContextMenu
Product Availability
Available with ArcGIS Desktop. Requires 3D Analyst Extension.