Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ManipulationStartingEventArgs.Cancel Method

Definition

Namespace:
System.Windows.Input
Assembly:
PresentationCore.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?