TouchDevice.GetTouchPoint(IInputElement) 方法

定義

傳回目前觸控裝置相對於指定之項目的位置。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

參數

relativeTo
IInputElement

會定義座標空間的項目。The element that defines the coordinate space.

傳回

目前觸控裝置相對於指定之項目的位置。The current position of the touch device relative to the specified element.

適用於