Class TouchEventArgs
Event information about a touch event.
Namespace: NanoByte.Common.Controls
Assembly: NanoByte.Common.WinForms.dll
Syntax
public class TouchEventArgs : EventArgs
Constructors
TouchEventArgs()
Declaration
public TouchEventArgs()
Fields
InRange
The user is hovering above the touch screen.
Declaration
public bool InRange
Field Value
Type | Description |
---|---|
Boolean |
NoCoalesce
This input was not coalesced.
Declaration
public bool NoCoalesce
Field Value
Type | Description |
---|---|
Boolean |
Palm
The touch event came from the user's palm.
Declaration
public bool Palm
Field Value
Type | Description |
---|---|
Boolean |
Primary
Indicates that this structure corresponds to a primary contact point.
Declaration
public bool Primary
Field Value
Type | Description |
---|---|
Boolean |
Properties
ContactX
X size of the contact area in pixels.
Declaration
public int ContactX { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ContactY
X size of the contact area in pixels.
Declaration
public int ContactY { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ID
Contact ID.
Declaration
public int ID { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
LocationX
Touch X client coordinate in pixels.
Declaration
public int LocationX { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
LocationY
Touch Y client coordinate in pixels.
Declaration
public int LocationY { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Mask
Mask indicating which fields in the structure are valid.
Declaration
public TouchEventMask Mask { get; set; }
Property Value
Type | Description |
---|---|
TouchEventMask |
Time
Touch event time.
Declaration
public int Time { get; set; }
Property Value
Type | Description |
---|---|
Int32 |