Indicates if a context menu should be displayed at the given xy location. Return 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.