EN
本內容沒有您的語言版本,但有英文版本。

DependencyObject.GetAnimationBaseValue Method

July 28, 2014

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

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public Object GetAnimationBaseValue(
	DependencyProperty dp
)

Parameters

dp
Type: System.Windows.DependencyProperty
The identifier for the desired dependency property.

Return Value

Type: System.Object
The returned base value.

ExceptionCondition
ArgumentNullException

dp is null.

An animated value acts at highest precedence in the dependency property system, and will return values that can mask other value determinants while the animation is running. You can call GetAnimationBaseValue in order to return the underlying value that might apply as soon as the animation is stopped. Note however that it is possible to specify an animation with a HoldEnd behavior, which means that even a stopped animation will continue to hold the animation-based value after the animation's timeline is visually or apparently stopped.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

顯示:
© 2014 Microsoft