Edit

Share via


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);
public System.Windows.Input.TouchPoint GetTouchPoint (System.Windows.IInputElement relativeTo);
member this.GetTouchPoint : System.Windows.IInputElement -> System.Windows.Input.TouchPoint
Public 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