Provides attached dependency properties and extension methods to capture and track input from a touch point, mouse, or stylus. Namespace: Microsoft.Surface.Presentation.Input
Assembly: Microsoft.Surface.Presentation (in Microsoft.Surface.Presentation)
In Windows Presentation Foundation (WPF), a TouchDevice object represents a single touch point. Multiple instances of TouchDevice can be present at the same time. A TouchDevice instance gets initialized when an object (for example, a finger) touches the interactive surface, and is disposed of when the object leaves the surface.
Many members of the TouchExtensions class gather data from any form of input. For example, the GetAreAnyInputDevicesCapturedWithin method determines whether any supported input devices (mouse, stylus, or touch) are captured within any portion of the specified element.
Additionally, the TouchExtensions class includes members that can handle tap and hold gestures from a touch device (for example, a finger, blob, or tag).
|Operating System (OS)||Windows 7|
|Software Developer Kit (SDK)||Surface 2.0 |
.NET Framework 4
|Developer environment||Visual Studio 2010, Express or full edition|
Microsoft Expression Blend 4.0 (optional)
|End-user hardware||Devices made for Surface 2.0, or |
Windows Touch computers
Did you find this information useful? Please send us your suggestions and comments.
© Microsoft Corporation. All rights reserved.