UIElement.HasAnimatedProperties 屬性

定義

取得值,這個值表示此項目是否有任何動畫屬性。Gets a value indicating whether this element has any animated properties.

public:
 property bool HasAnimatedProperties { bool get(); };
public bool HasAnimatedProperties { get; }
member this.HasAnimatedProperties : bool
Public ReadOnly Property HasAnimatedProperties As Boolean

屬性值

如果這個項目有附加至其任一屬性的動畫則為 true,否則為 falsetrue if this element has animations attached to any of its properties; otherwise, false.

實作

備註

這個屬性會針對持續性(unclocked、一律執行)動畫或具有特定時間軸的動畫傳回 trueThis property returns true either for persistent (unclocked, always-running) animations, or for animations that have a specific timeline.

適用於