Class TouchScreenEventArgs
- Namespace
- nanoFramework.UI
- Assembly
- nanoFramework.Graphics.dll
Event arguments for touch screen events.
public class TouchScreenEventArgs : EventArgs
- Inheritance
-
TouchScreenEventArgs
- Inherited Members
- Extension Methods
Constructors
TouchScreenEventArgs(DateTime, TouchInput[], object)
Initializes a new instance of the TouchScreenEventArgs class.
public TouchScreenEventArgs(DateTime timestamp, TouchInput[] touches, object target)
Parameters
timestamp
DateTimeThe time stamp for the event.
touches
TouchInput[]An array of TouchInput structures containing information about each touch point.
target
objectThe target object for the event.
Fields
Target
Gets or sets the target object for the event.
public object Target
Field Value
TimeStamp
Gets or sets the time stamp for the event.
public DateTime TimeStamp
Field Value
Touches
Gets or sets an array of TouchInput structures, containing information about each touch point.
public TouchInput[] Touches
Field Value
Methods
GetPosition(int, out int, out int)
Gets the X and Y position of the touch point at the specified index.
public void GetPosition(int touchIndex, out int x, out int y)