Class TouchEventArgs
Inherited Members
Namespace: nanoFramework.UI.Input
Assembly: nanoFramework.Graphics.dll
Syntax
public class TouchEventArgs : InputEventArgs
Constructors
TouchEventArgs(InputDevice, DateTime, TouchInput[])
Declaration
public TouchEventArgs(InputDevice inputDevice, DateTime timestamp, TouchInput[] touches)
Parameters
Type | Name | Description |
---|---|---|
InputDevice | inputDevice | |
DateTime | timestamp | |
TouchInput[] | touches |
Fields
Touches
Declaration
public TouchInput[] Touches
Field Value
Type | Description |
---|---|
TouchInput[] |
Methods
GetPosition(UIElement, int, out int, out int)
Declaration
public void GetPosition(UIElement relativeTo, int touchIndex, out int x, out int y)
Parameters
Type | Name | Description |
---|---|---|
UIElement | relativeTo | |
int | touchIndex | |
int | x | |
int | y |