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


ITxDocumentEvents.OnContextMenu Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > TrackingAnalyst > ESRI.ArcGIS.TrackingAnalyst > Interfaces > IT > ITxDocumentEvents Interface > ITxDocumentEvents.OnContextMenu Event
ArcGIS Developer Help

ITxDocumentEvents.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
[C#]
public event OnContextMenuEventHandler OnContextMenu
[C++]
HRESULT OnContextMenu(
  long x,
  long y,
  Boolean* handled
);
[C++]
Parameters
x [in]

x is a parameter of type long y [in]
y is a parameter of type long handled [out]
handled is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also

ITxDocumentEvents Interface