IManipulator 介面

定義

提供建立操作時所需的輸入位置。Provides the position of input that is needed to create a manipulation.

public interface class IManipulator
public interface IManipulator
type IManipulator = interface
Public Interface IManipulator
衍生

備註

每個觸控點都是 IManipulator 物件。Each touch point is an IManipulator object. 例如,如果您使用兩個手指來調整物件的大小, TouchDevice IManipulator 則會為每個手指建立一個。For example, if you use two fingers to resize an object, a TouchDevice, which implements IManipulator, is created for each finger.

屬性

Id

取得或設定物件的唯一識別項。Gets or sets a unique identifier for the object.

方法

GetPosition(IInputElement)

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

ManipulationEnded(Boolean)

當操作結束時呼叫。Called when the manipulation ends.

事件

Updated

發生於 IManipulator 物件變更位置時。Occurs when the IManipulator object changes position.

適用於