Can anyone point me to some code samples on how I could implement a gallery like the one in iOS where you can swipe side to side to change the image when using a touchscreen monitor on Windows 7?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will need to implement swipe-like animations for this.
Guidelines for touch in WPF apps
I haven’t tried this myself, but here is what seems to be an open source repo for a WPF carousel that might be worth taking a look at
Blog entry about swipe animation in WPFChange the image on desired ‘swipe-movement’ 🙂
Free animation libraries if you don’t want to create the animation yourself
Hope it helps!
Here is (by the way) the carousel control in the second link in case it goes missing like the previous one:
Code by Michael Palotas
XAML: