views:

11

answers:

0

Im using WPF 4 and trying to get used to the Drag and Drop API with touch, not the mouse, I have easily got a drag operation working that drops onto a Grid, but what I want to do is, when the user is dragging over the grid, change its color.

I have got all the code working, and I even put heaps of Console.WriteLine() calls within my DragOver() methods everywhere which are getting called (which is where the UI code is), but no matter what I do, the UI does NOT update until I drop. Is this because the DoDragDrop call is synchronous?

How do people get around this?