InputTouchEventArgs Class
Event arguments that represent a wrapped TouchEventArgs, for testing and mocking.
public class InputTouchEventArgs : EventArgs
Constructors
InputTouchEventArgs(TouchEventArgs)
Initializes a new instance of the InputTouchEventArgs class.
public InputTouchEventArgs(TouchEventArgs args)
Parameter | Type | Description |
---|---|---|
args | TouchEventArgs | The TouchEventArgs instance containing the event data. |
Properties
Handled
Gets or sets a value indicating whether this InputTouchEventArgs is handled.
Timestamp
Gets the timestamp.
TouchDevice
Gets the touch device.
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:
The touch point.