Cancel Method
Collapse the table of content
Expand the table of content

ManipulationCompletedEventArgs.Cancel Method ()

.NET Framework (current version)
 

Cancels the manipulation.

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

public bool Cancel()

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft