แก้ไข

แชร์ผ่าน


TouchDevice.IManipulator.GetPosition(IInputElement) Method

Definition

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

Parameters

relativeTo
IInputElement

The element to use as the frame of reference for calculating the position of the IManipulator.

Returns

The position of the IManipulator object.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the TouchDevice instance is cast to an IManipulator interface.

Applies to