Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetAnimationBaseValue Method
Collapse the table of content
Expand the table of content

ContentElement.GetAnimationBaseValue Method

Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation.

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

public Object GetAnimationBaseValue(
	DependencyProperty dp
)
You cannot use methods in XAML.

Parameters

dp
Type: System.Windows.DependencyProperty

The dependency property to check.

Return Value

Type: System.Object
The property value as if no animations are attached to the specified dependency property.

Implements

IAnimatable.GetAnimationBaseValue(DependencyProperty)

If no animations are attached to the property, then the GetAnimationBaseValue return value is always identical to the GetValue return value. If there are animations attached, then all possible animation derived values including the start and stop values are ignored, and the property value is determined based on all other possible inputs. For more information, see Dependency Property Value Precedence.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2015 Microsoft