SingleAnimation.IsCumulative Property

Definition

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

C#
public bool IsCumulative { get; set; }

Property Value

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.

Remarks

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.

Dependency Property Information

Item Value
Identifier field IsCumulativeProperty
Metadata properties set to true None

Nota

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

Applies to

Producto Versiones
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also