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.

DependencyObject.GetAnimationBaseValue method

Applies to Windows and Windows Phone

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

Syntax


public object GetAnimationBaseValue(
  DependencyProperty dp
)

Parameters

dp

Type: DependencyProperty

The identifier for the desired dependency property.

Return value

Type: System.Object [.NET] | Platform::Object [C++]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

DependencyObject
ReadLocalValue
Timeline
Timeline.FillBehavior
Dependency properties overview
Animating your UI
Storyboarded animations
Storyboarded animations for visual states

 

 

Show:
© 2014 Microsoft