IsCumulative Property
Collapse the table of content
Expand the table of content

ByteAnimationUsingKeyFrames.IsCumulative Property


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

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public bool IsCumulative { get; set; }

Property Value

Type: System.Boolean

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.

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.

Legacy Code Example

Code snippet is not found. Confirm that the code snippet name 'HOWDOI' is correct.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft