Table of Contents

Class TouchEventArgs

Namespace
NanoByte.Common.Controls
Assembly
NanoByte.Common.WinForms.dll

Event information about a touch event.

public class TouchEventArgs : EventArgs
Inheritance
object
EventArgs
TouchEventArgs
Extension Methods

Fields

InRange

The user is hovering above the touch screen.

public bool InRange

Field Value

bool

NoCoalesce

This input was not coalesced.

public bool NoCoalesce

Field Value

bool

Palm

The touch event came from the user's palm.

public bool Palm

Field Value

bool

Primary

Indicates that this structure corresponds to a primary contact point.

public bool Primary

Field Value

bool

Properties

ContactX

X size of the contact area in pixels.

public int ContactX { get; set; }

Property Value

int

ContactY

X size of the contact area in pixels.

public int ContactY { get; set; }

Property Value

int

ID

Contact ID.

public int ID { get; set; }

Property Value

int

LocationX

Touch X client coordinate in pixels.

public int LocationX { get; set; }

Property Value

int

LocationY

Touch Y client coordinate in pixels.

public int LocationY { get; set; }

Property Value

int

Mask

Mask indicating which fields in the structure are valid.

public TouchEventMask Mask { get; set; }

Property Value

TouchEventMask

Time

Touch event time.

public int Time { get; set; }

Property Value

int