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


IEditLocation Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

IEditLocation Interface

Provides access to the Editor's Location property.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Read/write property Location The last known location of the mouse.

Remarks

This interface was added specifically to allow alternative input of the editor's location property.

Generally, the ::Location() of the editor is set using the current tool via right click(ing) within the display.

However, issues arise when attempting to co-create and show the edit sketch context menu (as an external AO developer).  This context menu uses the location of the editor to hit test for a valid geometry.  If no valid sketch geometry is found, the context shown will fall back to the default for the display.