I have a MVVM build application, for Windows Phone 8. I have read a bit about it, and found that on WPF you normally use
Mouse.Capture();
But this is not possible on Windows Phone 8. Instead I used ManipulationStartedEventArgs
. Where I was able to find
ManipulationContainer.CaptureMouse();
Firstly is this the same function as:
Mouse.Capture();
What I understand is that they bind to a UIElement
, which the user chose ?
Second Part
When the mouse has been captured, normally you can invoke:
Mouse.Captured
To see if the mouse is captured to a UIElement
. But I have not been able to find the same method inside ManipulationDeltaEventArgs
or ManipulationCompletedEventArgs
.
Can you tell me how this is done in Windows Phone, and how to release the mouse again.
So what i did was to tap into the manipulation events and make logic there to ensure movement