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.

C#
public object GetAnimationBaseValue(DependencyProperty dp);

Parameters

dp
DependencyProperty

The identifier for the desired dependency property.

Returns

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.

Applies to

Produkt Verzie
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also