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

要檢查的相依性屬性。

傳回

Object

屬性值,就好像指定的相依性屬性未附加任何動畫。

實作

備註

如果沒有將動畫附加至 屬性,則傳 GetAnimationBaseValue 回值一律與傳 GetValue 回值相同。 如果附加動畫,則會忽略所有可能的動畫衍生值,包括開始和停止值,而且屬性值會根據所有其他可能的輸入來決定。 如需詳細資訊,請參閱相依性屬性值優先順序

適用於

另請參閱