Handling Manipulation Events
When a manipulation begins, the ManipulationStarted
event is raised. The event handler accepts a ManipulationStartedEventArgs
parameter, as shown:
void HandleManipulationStarted(object sender, ManipulationStartedEventArgs e){ /* method body */}
Contrary to the low-level TouchPoint
API, there is no need to store the ID of the touch point to track its motion. In fact, the manipulation events do not offer individual touch point information. If you need that information, the low-level TouchPoint
API may be more suitable.
During manipulation, the ManipulationDelta
event is raised when a touch point is added to the ManipulationContainer
element, or when the position of a touch point on the ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.