TouchEventArgs Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Contains data related to touch (or stylus) events.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT. . :: . .EventArgs
Microsoft.SPOT. . :: . .RoutedEventArgs
Microsoft.SPOT.Input. . :: . .InputEventArgs
Microsoft.SPOT.Input..::..TouchEventArgs
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Class TouchEventArgs _
Inherits InputEventArgs
public class TouchEventArgs : InputEventArgs
public ref class TouchEventArgs : public InputEventArgs
type TouchEventArgs =
class
inherit InputEventArgs
end
public class TouchEventArgs extends InputEventArgs
The TouchEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TouchEventArgs | Initializes a new instance of the TouchEventArgs class. |
Top
Properties
Name | Description | |
---|---|---|
Device | Gets the device that generated the input. (Inherited from InputEventArgs.) | |
Handled | Gets or sets a value that indicates the present state of the event handling for a particular routed event as it travels the route. (Inherited from RoutedEventArgs.) | |
OriginalSource | Gets the original object that raised the current routed event. (Inherited from RoutedEventArgs.) | |
RoutedEvent | Gets or sets a routed event. (Inherited from RoutedEventArgs.) | |
Source | Gets or sets a reference to the object that raised the current routed event. (Inherited from RoutedEventArgs.) |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPosition | Gets the position at which the touch (or stylus) event occurred. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSetSource | Provides a notification callback entry point whenever the value of the Source property of an object changes. (Inherited from RoutedEventArgs.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
Timestamp | Specifies the time period during which the input was received. (Inherited from InputEventArgs.) | |
Touches | Contains information about each touch point in a touch (or stylus) event. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.