I am trying to implement some drag/drop support within the DataGrid in Silverlight 2 Beta 2. As part of that I am hooking mouse events for the visual elements of the DataGridRow objects within the DataGrid.
I can't capture the mouse, because the original element I started dragging may be disposed if I scroll the DataGrid so that that row disappears from view.
To make a long story short, I need to know in the MouseMove event handler whether or not the left mouse button is still down so I can cancel the drag (in case the user moved the mouse off the data grid, released the mouse button, and then moved the mouse back over the DataGrid). The MouseEventArgs passed to the MouseMove handler don't seem to have that information, and I don't see a "Mouse" static class that I can check.
Thanks,
David
...
Go to the complete details ...