Animatable.BeginAnimation Method (DependencyProperty, AnimationTimeline)
Assembly: PresentationCore (in PresentationCore.dll)
'Declaration Public Sub BeginAnimation ( _ dp As DependencyProperty, _ animation As AnimationTimeline _ )
- Type: System.Windows.DependencyProperty
The property to animate.
- Type: System.Windows.Media.Animation.AnimationTimeline
The animation used to animate the specified property.
If the animation's BeginTime is Nothing, any current animations will be removed and the current value of the property will be held.
If animation is Nothing, all animations will be removed from the property and the property value will revert back to its base value.
If the animation has a BeginTime that is greater than zero, the animation begins after that amount of time has elapsed from the time the next frame is rendered.