Timeline.RepeatBehavior Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Remarks
For more info and examples, see the RepeatBehavior Struct.