Method StartAnimation
- Namespace
- SharpVectors.Runtime
- Assembly
- SharpVectors.Runtime.Wpf.dll
StartAnimation(UIElement, DependencyProperty, double, double, bool)
Starts an animation to a particular value on the specified dependency property.
public static void StartAnimation(UIElement animatableElement, DependencyProperty dependencyProperty, double toValue, double animationDurationSeconds, bool useAnimations)
Parameters
animatableElementUIElementdependencyPropertyDependencyPropertytoValuedoubleanimationDurationSecondsdoubleuseAnimationsbool
StartAnimation(UIElement, DependencyProperty, double, double, EventHandler, bool)
Starts an animation to a particular value on the specified dependency property. You can pass in an event handler to call when the animation has completed.
public static void StartAnimation(UIElement animatableElement, DependencyProperty dependencyProperty, double toValue, double animationDurationSeconds, EventHandler completedEvent, bool useAnimations)
Parameters
animatableElementUIElementdependencyPropertyDependencyPropertytoValuedoubleanimationDurationSecondsdoublecompletedEventEventHandleruseAnimationsbool
StartAnimation(UIElement, DependencyProperty, double, double)
Starts an animation to a particular value on the specified dependency property.
public static void StartAnimation(UIElement animatableElement, DependencyProperty dependencyProperty, double toValue, double animationDurationSeconds)
Parameters
animatableElementUIElementdependencyPropertyDependencyPropertytoValuedoubleanimationDurationSecondsdouble
StartAnimation(UIElement, DependencyProperty, double, double, EventHandler)
Starts an animation to a particular value on the specified dependency property. You can pass in an event handler to call when the animation has completed.
public static void StartAnimation(UIElement animatableElement, DependencyProperty dependencyProperty, double toValue, double animationDurationSeconds, EventHandler completedEvent)
Parameters
animatableElementUIElementdependencyPropertyDependencyPropertytoValuedoubleanimationDurationSecondsdoublecompletedEventEventHandler