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


IGMxDocumentEvents.OnContextMenu Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (ArcGlobe)  

IGMxDocumentEvents.OnContextMenu Method

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
);

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

See Also

IGMxDocumentEvents Interface