ManipulationStartingEventArgs.Cancel Method

Definition

Cancels the manipulation and promotes touch to mouse events.

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

Returns

true if touch was successfully promoted to mouse events, otherwise, false.

Remarks

If the method succeeds, the default TouchDevice sends previous touch down events as mouse down events and future manipulation events do not occur.

Applies to