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

IDocumentEvents.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 > IDocumentEvents Interface > IDocumentEvents.OnContextMenu Event
ArcGIS Developer Help

IDocumentEvents.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

IDocumentEvents Interface