InertiaRotationBehavior.DesiredDeceleration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the rate the rotation slows in degrees per squared millisecond.
public:
property double DesiredDeceleration { double get(); void set(double value); };
public double DesiredDeceleration { get; set; }
member this.DesiredDeceleration : double with get, set
Public Property DesiredDeceleration As Double
Property Value
The rate the rotation slows in degrees per squared millisecond. The default is NaN.
Exceptions
Remarks
Use the DesiredDeceleration property to specify the desired deceleration of the inertia. Set either the DesiredRotation or the DesiredDeceleration, but not both. When you set one of these properties, the other property is changed to Double.NaN if it has a value.
For more information about manipulations, see the Input Overview. For an example of an application that responds to manipulations, see Walkthrough: Creating Your First Touch Application.