ManipulationDeltaEventArgs.Cancel 方法

定义

取消操作。

public:
 bool Cancel();
public bool Cancel();
member this.Cancel : unit -> bool
Public Function Cancel () As Boolean

返回

true 如果操作已成功取消,则为否则,为 false.

注解

如果方法成功,则默认 TouchDevice 将以前的触摸事件作为鼠标向下或鼠标将事件移动到元素,并且将来的操作事件不会发生。 如果事件在惯性期间发生, ManipulationCompleted 则无法将 Touch 提升为鼠标事件。

适用于