ManipulationCompletedEventArgs.Cancel 方法

定義

取消操作。

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

傳回

如果成功取消操作,則為 true,否則為 false

備註

如果方法成功,預設值 TouchDevice 會將先前的觸控事件當做滑鼠向下、滑鼠移動或滑鼠向上事件傳送至 元素。 如果事件在慣性期間發生, ManipulationCompleted 則觸控無法升階為滑鼠事件。

適用於