ManipulationInertiaStartingEventArgs.Cancel 方法

定义

取消操作。Cancels the manipulation.

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

返回

如果成功取消操作,则为 true;否则为 falsetrue if the manipulation was successfully canceled; otherwise, false.

注解

如果该方法成功, 则默认TouchDevice情况下, 会将以前的触摸事件作为鼠标按下、鼠标移动或鼠标按下事件发送到元素, 并且不会发生将来操作事件。If the method succeeds, the default TouchDevice sends previous touch events as mouse down, mouse move, or mouse up events to the element and future manipulation events do not occur.

适用于