I have an image with a few polyline and shape layers. I select one of the polyline layers, and the grip handles are shown. I can click on the grip handle and move the point. All good.
However, I would like to run a different set of actions if the user clicks on a different area of the image and drags the mouse. I'm handling this in the MouseMove event.
The issue then is that when the user drags a polyline point, or resizes the layer, I don't want to run my actions.
Is there a way to tell when the user has clicked on a point and is moving it, something like a IsEditingPoint or IsResizingLayer? Or do I need to capture and use the details in the OnLayerNotify/OnUserInteraction events?
Unfortunately that information is just not available via a property. You would need to maintain the state using the OnLayerNotify/OnUserInteraction event.