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

IDocumentEventsDisp.OnContextMenu Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > ID > IDocumentEventsDisp Interface > IDocumentEventsDisp.OnContextMenu Event
ArcGIS Developer Help

IDocumentEventsDisp.OnContextMenu Event

Indicates if a context menu should be displayed at the given xy location. Return true if handled.

[Visual Basic .NET]
Public Event OnContextMenu As OnContextMenuEventHandler
public event OnContextMenuEventHandler OnContextMenu

Product Availability

Available with ArcGIS Desktop.

See Also

IDocumentEventsDisp Interface