|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > ArcScene > ESRI.ArcGIS.ArcScene > Interfaces > IS > ISxDocumentEventsDisp Interface > ISxDocumentEventsDisp.OnContextMenu Event (ArcObjects .NET 10.5 SDK) | 
Fired when 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