How to press the mouse on a control, and detect MouseLeftButtonUp on another
Another issue I found on StackOverflow, which is way more tricky that it seems. Let’s say we have a Silverlight WP7 application, and we want to add a drag&drop scenario. The user first taps an element, drags his finger to another, and raises his finger on another element. Easy enough! Just handle the MouseLeftButtonDown on each element, store which element triggered the event in a property, handle the MouseLeftButtonUp on each element, and then we have the originator and the destination! … right? Well, so I would have thought. Unfortunately, the MouseLeftButtonUp event will only be triggered if the ‘mouse’ left button (or your finger,Read More →