RectAnimationUsingKeyFrames.IsCumulative Property


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

Gets or sets a value that indicates 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 it repeats; otherwise, false. The default value is false.

When this property is set to true, the animation's output values accumulate only 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