Touch Class
Provides an application-level service that processes touch input from the operating system and raises the Silverlight-specific FrameReported event.
Namespace: System.Windows.Input
Assembly: System.Windows (in System.Windows.dll)
The Touch type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | FrameReported | Occurs when the input system promotes a Windows 7 touch message for Silverlight. |
Touch events do not use the same event model as other Silverlight input events such as MouseLeftButtonDown. Rather than being exposed as an element-specific event that potentially routes through the object tree of a UI, the touch input event is a single event handled at the level of the application. You then use the TouchFrameEventArgs and call GetPrimaryTouchPoint versus specific UI elements and their bounds. This determines the specific touch point frame of reference within your application's UI layout.
Touch input requires hardware that is touch-sensitive, as well as an environment that supports the infrastructure needed to expose touch events to individual applications. For more information, see Touch Input in Silverlight.
Version Notes
Silverlight for Windows Phone uses an entirely different touch input model. For more information on touch input, manipulations and gestures for Silverlight for Windows Phone, see How to: Handle Manipulation Events.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.


