Esempio n. 1
0
 void IInertiaExpansionBehaviorResolver.DesiredExpansion(InertiaExpansionBehavior expansionBehavior, double desiredExpansion) => expansionBehavior.DesiredExpansion = desiredExpansion;
Esempio n. 2
0
 double IInertiaExpansionBehaviorResolver.DesiredExpansion(InertiaExpansionBehavior expansionBehavior) => expansionBehavior.DesiredExpansion;
Esempio n. 3
0
 /// <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);
Esempio n. 4
0
 /// <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);
Esempio n. 5
0
 /// <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);
Esempio n. 6
0
 void IManipulationInertiaStartingRoutedEventArgsResolver.ExpansionBehavior(ManipulationInertiaStartingRoutedEventArgs e, InertiaExpansionBehavior expansionBehavior) => e.ExpansionBehavior = expansionBehavior;