TouchEventArgs.GetTouchPoint(IInputElement) Method

Definition

Returns the current position of the touch device relative to the specified element.

public System.Windows.Input.TouchPoint GetTouchPoint (System.Windows.IInputElement relativeTo);
Parameters
relativeTo
IInputElement

The element that defines the coordinate space.

Returns

The current position of the touch device relative to the specified element.

Applies to