TouchEventArgs Class

Definition

Supplies information about a touch event that is being raised.

public ref class TouchEventArgs : EventArgs
public class TouchEventArgs : EventArgs
type TouchEventArgs = class
    inherit EventArgs
Public Class TouchEventArgs
Inherits EventArgs
Inheritance
TouchEventArgs

Constructors

TouchEventArgs()

Properties

AltKey

true if the alt key was down when the event was fired. false otherwise.

ChangedTouches

A list of Touches for every point of contact which contributed to the event. For the touchstart event this must be a list of the touch points that just became active with the current event. For the touchmove event this must be a list of the touch points that have moved since the last event. For the touchend and touchcancel events this must be a list of the touch points that have just been removed from the surface.

CtrlKey

true if the control key was down when the event was fired. false otherwise.

Detail

A count of consecutive clicks that happened in a short amount of time, incremented by one.

MetaKey

true if the meta key was down when the event was fired. false otherwise.

ShiftKey

true if the shift key was down when the event was fired. false otherwise.

TargetTouches

A list of TouchPoint for every point of contact that is touching the surface and started on the element that is the target of the current event.

Touches

A list of TouchPoint for every point of contact currently touching the surface.

Type

Gets or sets the type of the event.

Applies to