Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ManipulationStartingEventArgs.Cancel Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Cancels the manipulation and promotes touch to mouse events.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public bool Cancel()

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 4.0
Return to top
© 2018 Microsoft