Input in Silverlight for Windows Phone
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Controls that are supported on Windows Phone are gesture-aware, and support gestures such as tap, pan, and flick.
You can handle simple gestures such as tap, double-tap, and tap-and-hold by using UIElement events that are present on almost all visual elements.
Use Tap for tap gestures.
Use DoubleTap for double-tap gestures.
Use Hold for tap-and-hold gestures.
Classes that support raw touch input, such as System.Windows.Input.Touch, are supported. You can also obtain interpreted touch input using manipulation events. Manipulation events support multitouch input and can be used to move and scale objects derived from UIElement. For additional information, see How to: Handle Manipulation Events.
See Also