DependencyObject.GetAnimationBaseValue method

0 out of 1 rated this helpful - Rate this topic

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

Namespace

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

Metadata

Windows.winmd

See also

DependencyObject
Timeline
Dependency properties overview
Quickstart: Animating your UI
Storyboarded animations
Storyboarded animations for visual states

 

 

Build date: 1/31/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.