Windows apps
Collapse the table of content
Expand the table of content
Information
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.

UIElement.ManipulationStarted Event

 

Occurs when an input device begins a manipulation on the UIElement object.

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

Public Event ManipulationStarted As EventHandler(Of ManipulationStartedEventArgs)

The ManipulationStarted event occurs after the ManipulationStarting event. You can do the following with the ManipulationStartedEventArgs:

  • Get the element that the manipulation's position is relative to by using the ManipulationContainer property.

  • Get the origin of the manipulation by using the ManipulationOrigin property.

  • Cancel the manipulation by calling the Complete method.

For more information about manipulations, see the Input Overview. For an example of an application that responds to manipulations, see Walkthrough: Creating Your First Touch Application.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft