This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > ID > IDocumentEvents Interface > IDocumentEvents.OnContextMenu Event (ArcObjects .NET 10.5 SDK) |
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
[C#] public event OnContextMenuEventHandler OnContextMenu