ManipulationCompletedEventArgs.Cancel 方法

定义

取消操作。

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

返回

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

注解

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

适用于