I have a ListView control to display items and I want provide a swipe/slide gesture to select an item. I use the GestureRecognizer class to recognize the cross slide gesture but I also want to animate this gesture by moving the seelcted item horizontally.
For example, this should look like on this image from an iOS app:
I searched the web but I cannot find any useful link how to animate this gesture within a ListView control.
You could create a behavior that listens to the ManipulationXYZ events on your items, and than animates a RenderTransform on those items. I wrote you a simple example:
You can use it in Xaml like this:
Don't forget to add the Behaviors SDK in the Project > Add references > Extensions dialog.