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);
void IManipulationInertiaStartingRoutedEventArgsResolver.RotationBehavior(ManipulationInertiaStartingRoutedEventArgs e, InertiaRotationBehavior rotationBehavior) => e.RotationBehavior = rotationBehavior;
/// <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);