[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Contains information about a pinch-stretch gesture.
Assembly: System.Windows (in System.Windows.dll)
Thetype exposes the following members.
|CumulativeScale||Gets the ratio of the current distance between the contact points and the distance between the original contact points.|
|Current||Gets the current pinch contact points.|
|DeltaScale||Gets the ratio of the current distance between the contact points and the distance between the previous contact points.|
|Original||Gets the original pinch contact points.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
Every time there are two or more fingers touching the screen, it is considered a pinch gesture. The platform will return the best two contact points that represent the pinch gesture and return them as primary and secondary contact points. The very first set of primary/secondary contact points of a pinch gesture is considered the original set. While the pinch gesture is occurring, if all other fingers are raised and only one finger is still touching the screen, it is no longer considered a pinch gesture, but it now transforms to become a drag (or a flick). If any other finger touches the screen again, it triggers a new pinch gesture with a new set of original contact points. All of this can be considered part of one single manipulation (between one ManipulationStarted and ManipulationCompleted event) until all the fingers are raised.