แก้ไข

แชร์ผ่าน


ManipulationDeltaEventArgs.Cancel Method

Definition

Cancels the manipulation.

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

Returns

true if the manipulation was successfully canceled; otherwise, false.

Remarks

If the method succeeds, the default TouchDevice sends previous touch events as mouse down or mouse move events to the element and future manipulation events do not occur. Touch cannot be promoted to mouse events if the ManipulationCompleted event occurs during inertia.

Applies to