This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcGlobe > ESRI.ArcGIS.ArcGlobe > Interfaces > IG > IGMxDocumentEvents Interface > IGMxDocumentEvents.OnContextMenu Method (ArcObjects .NET 10.5 SDK) |
Fired when a context menu should be displayed at the given xy location. Returns true if handled.
[Visual Basic .NET] Public Function OnContextMenu ( _ ByVal x As Integer, _ ByVal y As Integer _ ) As Boolean
[C#] public bool OnContextMenu ( int x, int y );