Select to view content in your preferred language

preventing EditGeometry end edit on click

590
1
11-01-2011 09:39 PM
DouglasMerrill
New Contributor
I'm using EditGeometry in conjunction with buttons to control the start and end of editing and would like to prevent the editcompleted action which occurs when clicking on the geometry. 

Is it possible to disable just this click event?  I still want the other click events (click/drag to move, click on edge to add a point, etc.) to function normally but want to control the editing state soley with the buttons.
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
This is by design. You can probably subscribe to GeometryEdit event and in the event handler StartEdit() on the graphic again when e.Action == EditCompleted. This will restart editing.
0 Kudos