ArcObjects Library Reference (ArcMapUI)  

IDocumentEventsDisp.OnContextMenu Event

Indicates if 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.

See Also

IDocumentEventsDisp Interface