Bewerken

Delen via


MatrixAnimationUsingPath.IsOffsetCumulative Property

Definition

Gets or sets a value indicating whether the offset produced by the animated matrix will accumulate over repetitions.

public:
 property bool IsOffsetCumulative { bool get(); void set(bool value); };
public bool IsOffsetCumulative { get; set; }
member this.IsOffsetCumulative : bool with get, set
Public Property IsOffsetCumulative As Boolean

Property Value

true if the object will accumulate over repeats of the animation; otherwise, false. The default is false.

Remarks

If this property is set to true, the offset of the animated matrix will accumulate as the animation repeats. For example, if the path is a small arc and the animation is set to repeat, a cumulative offset will cause the object to appear to bounce across the screen.

This property determines whether the animation matrix's offset accumulates when the animation repeats because of its RepeatBehavior setting; it does not cause the offset to accumulate when the animation is restarted. For information on how to make an animation build off a previous animation's values, see IsAdditive.

Dependency Property Information

Identifier field IsOffsetCumulativeProperty
Metadata properties set to true None

Applies to

See also