DependencyObject.GetAnimationBaseValue(DependencyProperty) DependencyObject.GetAnimationBaseValue(DependencyProperty) DependencyObject.GetAnimationBaseValue(DependencyProperty) 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 : Platform::Object GetAnimationBaseValue(DependencyProperty dp)
winrt::Windows::Foundation::IInspectable GetAnimationBaseValue(DependencyProperty dp) const;
public object GetAnimationBaseValue(DependencyProperty dp)
Public Function GetAnimationBaseValue(dp As DependencyProperty) As object
Parameters
dp
DependencyProperty DependencyProperty

The identifier for the desired dependency property.

Returns
object object

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. For more info, see Storyboarded animations for visual states.

See Also