Table of Contents

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

animatableElement UIElement
dependencyProperty DependencyProperty
toValue double
animationDurationSeconds double
useAnimations bool

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

animatableElement UIElement
dependencyProperty DependencyProperty
toValue double
animationDurationSeconds double
completedEvent EventHandler
useAnimations bool

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

animatableElement UIElement
dependencyProperty DependencyProperty
toValue double
animationDurationSeconds double

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

animatableElement UIElement
dependencyProperty DependencyProperty
toValue double
animationDurationSeconds double
completedEvent EventHandler