Export (0) Print
Expand All

DoubleAnimation.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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public bool IsCumulative { get; set; }
<object IsCumulative="bool" .../>

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.

Identifier field

IsCumulativeProperty

Metadata properties set to true

None

NoteNote

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

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft