UIElement.ManipulationStarted Event

Definition

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

C#
public event EventHandler<System.Windows.Input.ManipulationStartedEventArgs> ManipulationStarted;

Event Type

Remarks

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.

Routed Event Information

Item Value
Identifier field ManipulationStartedEvent
Routing strategy Bubbling
Delegate EventHandler<TEventArgs> of type ManipulationStartedEventArgs.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9