Skip to main content

TouchEventArgs Class

Package: GHIElectronics.Endpoint.Devices.Touch
Namespace: GHIElectronics.Endpoint.Devices.Touch

Event data for Touch.OnChangedEvent: how the fingers changed since the last event.

public sealed class TouchEventArgs : EventArgs

Constructors​

TouchEventArgs(TouchEventType eventType, TouchPoint[] points)​

public TouchEventArgs(TouchEventType eventType, TouchPoint[] points)

Builds a touch-event payload.

ParameterTypeDescription
eventTypeTouchEventTypeWhat changed (pressed, moved, released).
pointsTouchPoint[]Every finger currently on the screen; empty when eventType is TouchEventType.Released.

Properties​

EventType​

public TouchEventType EventType { get; }

Kind of change this event represents.

Returns TouchEventType

Points​

public TouchPoint[] Points { get; }

Every finger currently on the screen. Empty for Released.

Returns TouchPoint[]