TouchDevice.IManipulator.GetPosition(IInputElement) 方法

定義

傳回 IManipulator 物件的位置。

 virtual System::Windows::Point System.Windows.Input.IManipulator.GetPosition(System::Windows::IInputElement ^ relativeTo) = System::Windows::Input::IManipulator::GetPosition;
System.Windows.Point IManipulator.GetPosition (System.Windows.IInputElement relativeTo);
abstract member System.Windows.Input.IManipulator.GetPosition : System.Windows.IInputElement -> System.Windows.Point
override this.System.Windows.Input.IManipulator.GetPosition : System.Windows.IInputElement -> System.Windows.Point
Function GetPosition (relativeTo As IInputElement) As Point Implements IManipulator.GetPosition

參數

relativeTo
IInputElement

計算 IManipulator 的位置時,做為參考框架使用的項目。

傳回

IManipulator 物件的位置。

實作

備註

這個成員是明確介面成員實作, 只有在 TouchDevice 執行個體轉換成 IManipulator 介面時,才能使用這個成員。

適用於