SingleAnimation.IsCumulative Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.