void IInertiaRotationBehaviorResolver.DesiredRotation(InertiaRotationBehavior rotationBehavior, double desiredRotation) => rotationBehavior.DesiredRotation = desiredRotation;
 double IInertiaRotationBehaviorResolver.DesiredRotation(InertiaRotationBehavior rotationBehavior) => rotationBehavior.DesiredRotation;
 /// <summary>
 /// Sets the rotation, in degrees, at the end of the inertial movement.
 /// </summary>
 /// <param name="rotationBehavior">The requested <see cref="InertiaRotationBehavior"/>.</param>
 /// <param name="desiredRotation">The rotation, in degrees, at the end of the inertial movement.</param>
 public static void DesiredRotation(this InertiaRotationBehavior rotationBehavior, double desiredRotation) => Resolver.DesiredRotation(rotationBehavior, desiredRotation);
 /// <summary>
 /// Gets the rotation, in degrees, at the end of the inertial movement.
 /// </summary>
 /// <param name="rotationBehavior">The requested <see cref="InertiaRotationBehavior"/>.</param>
 /// <returns>The rotation, in degrees, at the end of the inertial movement.</returns>
 public static double DesiredRotation(this InertiaRotationBehavior rotationBehavior) => Resolver.DesiredRotation(rotationBehavior);
Esempio n. 5
0
 void IManipulationInertiaStartingRoutedEventArgsResolver.RotationBehavior(ManipulationInertiaStartingRoutedEventArgs e, InertiaRotationBehavior rotationBehavior) => e.RotationBehavior = rotationBehavior;
Esempio n. 6
0
 /// <summary>
 /// Sets information about the rotation information associated with the manipulation for this event occurrence.
 /// </summary>
 /// <param name="e">The requested <see cref="ManipulationInertiaStartingRoutedEventArgs"/>.</param>
 /// <param name="rotationBehavior">Manipulation rotation information.</param>
 public static void RotationBehavior(this ManipulationInertiaStartingRoutedEventArgs e, InertiaRotationBehavior rotationBehavior) => Resolver.RotationBehavior(e, rotationBehavior);