SingleAnimationUsingKeyFrames.IsCumulative Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 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
Show: