Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UIElement::GetAnimationBaseValue Method (DependencyProperty^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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:
virtual Object^ GetAnimationBaseValue(
	DependencyProperty^ dp
) sealed

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.

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.

The following example implements a handler that reports the base value of an animated Width property on a Button, as well as the base value of a transform.

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft