Gets or sets the desired rotation, in radians.
Assembly: System.Windows.Input.Manipulations (in System.Windows.Input.Manipulations.dll)
This property represents the desired ending rotation of the inertia operation. This property value is mutually exclusive with the DesiredDeceleration property; setting this property will set DesiredDeceleration to NaN. The default value for both this property and DesiredDeceleration is NaN. You must set one or the other property before inertia processing starts.
must be a finite, non-negative number. The direction of rotation is determined by the InitialVelocity property.
This property cannot be set while the inertia processor is running; otherwise, an exception is thrown.
In the following example, the property is set to enable inertia processing to rotate an object three-and-one-half times from its starting orientation.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.