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