What's the best way to structure this Linq-to-Events Drag & Drop code?
- by Rob Fonseca-Ensor
I am trying to handle a drag & drop interaction, which involves mouse down, mouse move, and mouse up.
Here is a simplified repro of my solution that:
on mouse down, creates an ellipse and adds it to a canvas
on mouse move, repositions the ellipse to follow the mouse
on mouse up, changes the colour of the canvas so that it's obvious which one…