Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ColorAnimationUsingKeyFrames.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.

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