TouchDevice.IManipulator.GetPosition(IInputElement) 方法

定義

傳回 IManipulator 物件的位置。Returns the position of the IManipulator object.

 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 的位置時,做為參考框架使用的項目。The element to use as the frame of reference for calculating the position of the IManipulator.

傳回

IManipulator 物件的位置。The position of the IManipulator object.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 TouchDevice 執行個體轉換成 IManipulator 介面時,才能使用這個成員。It can be used only when the TouchDevice instance is cast to an IManipulator interface.

適用於