ManipulationStarted Event
Collapse the table of content
Expand the table of content

UIElement::ManipulationStarted Event


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

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

event EventHandler<ManipulationStartedEventArgs^>^ ManipulationStarted {
	void add(EventHandler<ManipulationStartedEventArgs^>^ value);
	void remove(EventHandler<ManipulationStartedEventArgs^>^ value);

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
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft