ContentElement.GetAnimationBaseValue(DependencyProperty) 方法

定义

返回此元素上指定属性的基属性值,忽略运行或停止动画中的任何可能的动画值。

public:
 virtual System::Object ^ GetAnimationBaseValue(System::Windows::DependencyProperty ^ dp);
public object GetAnimationBaseValue(System.Windows.DependencyProperty dp);
abstract member GetAnimationBaseValue : System.Windows.DependencyProperty -> obj
override this.GetAnimationBaseValue : System.Windows.DependencyProperty -> obj
Public Function GetAnimationBaseValue (dp As DependencyProperty) As Object

参数

dp
DependencyProperty

要检查的 .dependency 属性。

返回

属性值,好像没有动画附加到指定的依赖属性。

实现

注解

如果没有将动画附加到属性,则 GetAnimationBaseValue 返回值始终与 GetValue 返回值相同。 如果附加了动画,则忽略所有可能的动画派生值,包括开始值和停止值,并且属性值取决于所有其他可能的输入。 有关详细信息,请参阅 Dependency 属性值优先级

适用于

另请参阅