InertiaRotationBehavior.DesiredRotation 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 rotation, in degrees, at the end of the inertial movement.
public:
property double DesiredRotation { double get(); void set(double value); };
public double DesiredRotation { get; set; }
member this.DesiredRotation : double with get, set
Public Property DesiredRotation As Double
Property Value
The rotation, in degrees, at the end of the inertial movement. The default is NaN.
Remarks
Use the DesiredRotation property to specify the desired rotation of the manipulation when inertia ends. 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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om