Gestures Overview
What's covered in this video:
- Gesture design guidance
- Available gestures
- Example of gestures
Implementing Simple Gestures
Learn how to implement simple gestures in your Windows Phone projects by leveraging the functionality found in the Silverlight for Windows Phone toolkit. In this lesson you will learn how to implement the following gestures: tapping, double-tapping and flicking.
What's covered in this video:
- Referencing the Silverlight for Windows Phone Toolkit
- Adding the Tap Method
- Adding the Double-Tap Method
- Adding the Flick Method
Implementing a Pan Gesture
Although you can handle touch input directly and create your own logic for gestures, the Silverlight for Windows Phone Toolkit makes it simple. Once you have the toolkit installed, you can use the GestureService and Gesture Listener classes to handle simple and advanced gestures.
In this lesson, you will how to setup a GestureListener object and handle simple gestures. You will also see how to implement a Pan Gesture. The Pan gesture can be used for multiple purposes including moving and reordering content or navigating an application. In this lesson, you learn how to implement a Pan gesture with varying degrees of detail.
What's covered in this video:
- Preparing to use the Toolkit
- Adding the GestureService and GestureListener
- Handling a Simple Pan
- Handling a Tracking or Diagonal Pan
- Triggering an object to scale during dragging
Conclusion
In this tutorial, you learned which gestures are supported by Windows Phone and how each one is defined. You also walked through how to implement each gesture, within your own application and custom code.