void IInertiaExpansionBehaviorResolver.DesiredExpansion(InertiaExpansionBehavior expansionBehavior, double desiredExpansion) => expansionBehavior.DesiredExpansion = desiredExpansion;
double IInertiaExpansionBehaviorResolver.DesiredExpansion(InertiaExpansionBehavior expansionBehavior) => expansionBehavior.DesiredExpansion;
/// <summary> /// Sets the amount the element resizes at the end of inertia. /// </summary> /// <param name="expansionBehavior">The requested <see cref="InertiaExpansionBehavior"/>.</param> /// <param name="desiredExpansion">The amount the element resizes at the end of inertia.</param> public static void DesiredExpansion(this InertiaExpansionBehavior expansionBehavior, double desiredExpansion) => Resolver.DesiredExpansion(expansionBehavior, desiredExpansion);
/// <summary> /// Gets the amount the element resizes at the end of inertia. /// </summary> /// <param name="expansionBehavior">The requested <see cref="InertiaExpansionBehavior"/>.</param> /// <returns>The amount the element resizes at the end of inertia.</returns> public static double DesiredExpansion(this InertiaExpansionBehavior expansionBehavior) => Resolver.DesiredExpansion(expansionBehavior);
/// <summary> /// Sets the rate of slowdown of expansion inertial movement. /// </summary> /// <param name="e">The requested <see cref="ManipulationInertiaStartingRoutedEventArgs"/>.</param> /// <param name="expansionBehavior">the rate of slowdown expansion inertial movement.</param> public static void ExpansionBehavior(this ManipulationInertiaStartingRoutedEventArgs e, InertiaExpansionBehavior expansionBehavior) => Resolver.ExpansionBehavior(e, expansionBehavior);
void IManipulationInertiaStartingRoutedEventArgsResolver.ExpansionBehavior(ManipulationInertiaStartingRoutedEventArgs e, InertiaExpansionBehavior expansionBehavior) => e.ExpansionBehavior = expansionBehavior;