Share via

Timeline.RepeatBehavior Property


Gets or sets the repeating behavior of this timeline.

RepeatBehavior RepeatBehavior();

void RepeatBehavior(RepeatBehavior value);
public RepeatBehavior RepeatBehavior { get; set; }
var repeatBehavior = timeline.repeatBehavior;
timeline.repeatBehavior = repeatBehavior;
Public Property RepeatBehavior As RepeatBehavior
<timeline RepeatBehavior="repeatBehaviorValue"/>

Property Value

An iteration Count that specifies the number of times the timeline should play, a TimeSpan value that specifies the total length of this timeline's active period, or the special value Forever, which specifies that the timeline should repeat indefinitely. The default value is a RepeatBehavior with a Count value of 1, which indicates that the timeline plays once.


For more info and examples, see the RepeatBehavior Struct.

Applies to