Windows Dev Center

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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

member ManipulationStarted : IEvent<EventHandler<ManipulationStartedEventArgs>,
    ManipulationStartedEventArgs>
<object ManipulationStarted="EventHandler<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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft