ManipulationCompletedEventArgs
ManipulationCompletedEventArgs
ManipulationCompletedEventArgs
ManipulationCompletedEventArgs
Class
Definition
Contains event data for the ManipulationCompleted event.
public : sealed class ManipulationCompletedEventArgs : IManipulationCompletedEventArgspublic sealed class ManipulationCompletedEventArgs : IManipulationCompletedEventArgsPublic NotInheritable Class ManipulationCompletedEventArgs Implements IManipulationCompletedEventArgs// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
JavaScript: This object is accessed in a ManipulationCompleted event handler.
Note
: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).
Properties
Cumulative Cumulative Cumulative Cumulative
Gets values that indicate the accumulated transformation deltas (translation, rotation, scale) of a completed manipulation (from the start of the manipulation to the end of inertia).
public : ManipulationDelta Cumulative { get; }public ManipulationDelta Cumulative { get; }Public ReadOnly Property Cumulative As ManipulationDelta// You can use this property in JavaScript.
The accumulated transformation values since a ManipulationStarted event.
PointerDeviceType PointerDeviceType PointerDeviceType PointerDeviceType
Gets the device type of the input source.
public : PointerDeviceType PointerDeviceType { get; }public PointerDeviceType PointerDeviceType { get; }Public ReadOnly Property PointerDeviceType As PointerDeviceType// You can use this property in JavaScript.
The device type.
Position Position Position Position
Gets the location of the pointer associated with the manipulation for the last manipulation event.
public : Point Position { get; }public Point Position { get; }Public ReadOnly Property Position As Point// You can use this property in JavaScript.
Velocities Velocities Velocities Velocities
Gets values that indicate the velocities of the transformation deltas (translation, rotation, scale) for a manipulation at the ManipulationCompleted event.
public : ManipulationVelocities Velocities { get; }public ManipulationVelocities Velocities { get; }Public ReadOnly Property Velocities As ManipulationVelocities// You can use this property in JavaScript.
The velocities of the accumulated transformations since a ManipulationStarted event.
Remarks
Velocity is the distance an object travels in a specified direction during a unit of time.
See Also
- Custom user interactions
- UX guidelines for custom user interactions
- Touch design guidelines
- User interaction mode sample
- Focus visuals sample
- Input: Device capabilities sample
- Input: Ink sample
- Input: Manipulations and gestures (JavaScript) sample
- Input: Simplified ink sample
- Input: Windows 8 gestures sample
- Input: XAML user input events sample
- XAML scrolling, panning, and zooming sample
- DirectX touch input sample
- Input: Manipulations and gestures (C++) sample
- Input: Touch hit testing sample
- Input source identification sample
- Touch injection sample
- Win32 touch hit-testing sample