編輯

共用方式為


ColorAnimation.IsCumulative Property

Definition

Gets or sets a value that specifies whether the animation's value accumulates when it repeats.

public:
 property bool IsCumulative { bool get(); void set(bool value); };
public bool IsCumulative { get; set; }
member this.IsCumulative : bool with get, set
Public Property IsCumulative As Boolean

Property Value

true if the animation accumulates its values when its RepeatBehavior property causes it to repeat its simple duration. otherwise, false. The default value is false.

Remarks

When this property is set to true, the animation's output values only accumulate when the animation's RepeatBehavior property causes it to repeat its simple duration. It does not accumulate its values when it restarts because its parent repeated or because its clock was restarted from a Begin call.

Dependency Property Information

Identifier field IsCumulativeProperty
Metadata properties set to true None

Note

This dependency property is unusual in that the identifier field for it comes from AnimationTimeline, and is shared by various derived classes.

Applies to

See also