Search code examples
silverlightxamlwindows-phone-7uielement

How do I bind touch manipulation to a UIElement property on Windows Phone 7?


I would like to have a property of a UIElement be modified when the user swipes vertically on the screen in Windows Phone 7. I can see how to do it using the OnManipulationDelta override but it seems like that should be a Xaml binding of some sort that would accomplish it in mark-up.

Can you bind properties to touch manipulations?


Solution

  • Here's an example of how you might go about doing that.