Animatable::GetAnimationBaseValue Method (DependencyProperty^)

 

Returns the non-animated value of the specified DependencyProperty.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public:
virtual Object^ GetAnimationBaseValue(
	DependencyProperty^ dp
) sealed

Parameters

dp
Type: System.Windows::DependencyProperty^

Identifies the property whose base (non-animated) value should be retrieved.

Return Value

Type: System::Object^

The value that would be returned if the specified property were not animated.

If the specified property is not animated, this method returns the same result as GetValue.

In the following example, the non-animated values of animated properties are retrieved and displayed.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: