Uredi

Deli z drugimi prek


UIElement.ManipulationStarted Event

Definition

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

public:
 event EventHandler<System::Windows::Input::ManipulationStartedEventArgs ^> ^ ManipulationStarted;
public event EventHandler<System.Windows.Input.ManipulationStartedEventArgs> ManipulationStarted;
member this.ManipulationStarted : EventHandler<System.Windows.Input.ManipulationStartedEventArgs> 
Public Custom Event ManipulationStarted As EventHandler(Of ManipulationStartedEventArgs) 

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

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

Applies to