Udostępnij za pośrednictwem


ManipulationCompletedEventArgs Class

Definition

Contains event data for the ManipulationCompleted event.

public ref class ManipulationCompletedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
class ManipulationCompletedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
public sealed class ManipulationCompletedEventArgs
Public NotInheritable Class ManipulationCompletedEventArgs
Inheritance
Object Platform::Object IInspectable ManipulationCompletedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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).

Version history

Windows version SDK version Value added
2004 19041 ContactCount
2004 19041 CurrentContactCount

Properties

ContactCount

Gets the number of contact points at the time the ManipulationCompleted event is recognized.

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).

CurrentContactCount

Gets the current number of contact points for the ongoing Windows.UI.Input.GestureRecognizer.ManipulationCompleted event.

PointerDeviceType

Gets the device type of the input source.

Position

Gets the location of the pointer associated with the manipulation for the last manipulation event.

Velocities

Gets values that indicate the velocities of the transformation deltas (translation, rotation, scale) for a manipulation at the ManipulationCompleted event.

Applies to

See also