DependencyObject.GetAnimationBaseValue Method


Returns any base value established for a Silverlight dependency property, which would apply in cases where an animation is not active.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Public Function GetAnimationBaseValue ( _
	dp As DependencyProperty _
) As Object


Type: System.Windows.DependencyProperty
The identifier for the desired dependency property.

Return Value

Type: System.Object
The returned base value.


dp is Nothing.

An animated value acts at highest precedence in the dependency property system, and will return values that can mask other value determinants while the animation is running. You can call GetAnimationBaseValue in order to return the underlying value that might apply as soon as the animation is stopped. Note however that it is possible to specify an animation with a HoldEnd behavior, which means that even a stopped animation will continue to hold the animation-based value after the animation's timeline is visually or apparently stopped.

For more information on animation concepts, see Animation Overview.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.