語言

ManipulationCompletedEventArgs.Cancel 方法

定義

取消操控。

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

傳回

true若操控成功取消;否則,。 false

備註

若方法成功,預設 TouchDevice 會將先前的觸控事件以滑鼠下放、滑鼠移動或滑鼠向上等形式傳送至元素。 如果 ManipulationCompleted 事件發生在慣性期間,觸控無法升級為滑鼠事件。

適用於