Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DependencyObject.GetAnimationBaseValue Method

Silverlight

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 Object GetAnimationBaseValue(
	DependencyProperty dp
)

Parameters

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

Return Value

Type: System.Object
The returned base value.
ExceptionCondition
ArgumentNullException

dp is null.

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.

Silverlight

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.