TouchDevice.GetTouchPoint(IInputElement) Method

Definition

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

public:
 abstract System::Windows::Input::TouchPoint ^ GetTouchPoint(System::Windows::IInputElement ^ relativeTo);
public abstract System.Windows.Input.TouchPoint GetTouchPoint (System.Windows.IInputElement relativeTo);
abstract member GetTouchPoint : System.Windows.IInputElement -> System.Windows.Input.TouchPoint
Public MustOverride Function GetTouchPoint (relativeTo As IInputElement) As TouchPoint

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