Udostępnij za pośrednictwem


ManipulationUpdatedEventArgs Class

Definition

Contains event data for the ManipulationUpdated event.

public ref class ManipulationUpdatedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
class ManipulationUpdatedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
public sealed class ManipulationUpdatedEventArgs
Public NotInheritable Class ManipulationUpdatedEventArgs
Inheritance
Object Platform::Object IInspectable ManipulationUpdatedEventArgs
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 ManipulationUpdated 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 ManipulationUpdated event is recognized.

Cumulative

Gets values that indicate the accumulated transformation deltas (translation, rotation, scale) for a manipulation from the beginning of the interaction to the ManipulationUpdated event.

CurrentContactCount

Gets the current number of contact points for the ongoing ManipulationUpdated event.

Delta

Gets values that indicate the changes in the transformation deltas (translation, rotation, scale) of a manipulation since the last manipulation 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 ManipulationUpdated event.

Applies to

See also