Object. Get Animation Base Value(DependencyProperty) Method
Returns any base value established for a dependency property, which would apply in cases where an animation is not active.
Equivalent WinUI method: Microsoft.UI.Xaml.DependencyObject.GetAnimationBaseValue.
public: virtual Platform::Object ^ GetAnimationBaseValue(DependencyProperty ^ dp) = GetAnimationBaseValue;
IInspectable GetAnimationBaseValue(DependencyProperty const & dp);
public object GetAnimationBaseValue(DependencyProperty dp);
Public Function GetAnimationBaseValue (dp As DependencyProperty) As Object
The identifier for the desired dependency property.
The returned base value.
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.