ManipulationDelta::Scale Property
Gets or sets the amount the manipulation has resized as a multiplier.
Assembly: PresentationCore (in PresentationCore.dll)
The Scale and Expansion properties both report a resizing manipulation. The difference between the two is the way in which the value is reported. The Scale property reports the value as a multiplier. If Scale is 0.5, the manipulation is interpreted as decreasing the size by 50 percent. If Scale is 2, the manipulation is interpreted as increasing the size by 100 percent. The Expansion property reports the resizing manipulation in device-independent units (1/96th inch per unit).
The following example shows an event handler for the ManipulationDelta event. The example applies the Translation, Scale, and Rotation properties to move, resize, and rotate a Rectangle. This example is part of a larger example in Walkthrough: Creating Your First Touch Application.
Available since 4.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.0