AnsweredAssumed Answered

Drag a Graphic or Feature Using Mouse (WPF/v100.2)

Question asked by keith.gemeinhart on Mar 22, 2018
Latest reply on Mar 29, 2018 by bikesh707

I'd like to select a feature, and then click & hold the mouse button to drag it to a new location, setting the new location when the mouse button is released. However, the mouse move events don't seem to be firing when the left mouse button is held down. I suspect this is related to the map panning operation, which is also done with mouse-down-drag-release sequence. But, it's the same with the right mouse button held down.


I tried turning off panning with this code, but no luck. Still no mouse move events.

MainMapView.InteractionOptions = new MapViewInteractionOptions();
MainMapView.InteractionOptions.IsPanEnabled = false;


I also tried right mouse button down with sketch editor active and again no mouse events.


Is there any way for me to get mouse move events with either of the buttons held down?