DependencyObject.GetAnimationBaseValue(DependencyProperty) Method

Definition

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

public:
 virtual Platform::Object ^ GetAnimationBaseValue(DependencyProperty ^ dp) = GetAnimationBaseValue;
IInspectable GetAnimationBaseValue(DependencyProperty const& dp);
public object GetAnimationBaseValue(DependencyProperty dp);
function getAnimationBaseValue(dp)
Public Function GetAnimationBaseValue (dp As DependencyProperty) As Object

Parameters

dp
DependencyProperty

The identifier for the desired dependency property.

Returns

Object

Platform::Object

IInspectable

The returned base value.

Remarks

Use GetAnimationBaseValue to get values that might currently be animated but you want to know the value before the animation ran. Note that animations with HoldEnd behavior might not have this same value. For more info on the HoldEnd concept, see Storyboarded animations.

Animations that are used for visual states don't have HoldEnd behavior but do apply an animated value applied while the state is active.

Applies to

See also