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、always-正在运行)动画或具有特定时间线的动画返回 trueThis property returns true either for persistent (unclocked, always-running) animations, or for animations that have a specific timeline.

适用于