In This Article

InputTouchEventArgs Class

Event arguments that represent a wrapped TouchEventArgs, for testing and mocking.

public class InputTouchEventArgs : EventArgs
Inheritance:
object EventArgs object

Constructors

InputTouchEventArgs(TouchEventArgs)

Event arguments that represent a wrapped TouchEventArgs, for testing and mocking.

public InputTouchEventArgs(TouchEventArgs args)
Parameter Type Description
args TouchEventArgs

The TouchEventArgs instance containing the event data.

Properties

Handled

Indicates whether this InputTouchEventArgs is handled.

public bool Handled { get; set; }

Property Value

bool:

true if handled; otherwise, false.

Timestamp

The timestamp.

public int Timestamp { get; }

Property Value

int

TouchDevice

The touch device.

public IInputTouchDevice TouchDevice { get; }

Property Value

IInputTouchDevice

Methods

GetTouchPoint(IInputElement)

Gets the touch point, relative to a given IInputElement.

public IInputTouchPoint GetTouchPoint(IInputElement relativeTo)
Parameter Type Description
relativeTo IInputElement

The IInputElement that the touch point is relative to.

Returns

IInputTouchPoint

Inherited Members

Extension Methods