Gets or sets the repeating behavior of a timeline.
Describes the repeating behavior of the timeline
This property is read/write. The default is 1x (one iteration).
RepeatBehavior has three possible modes: a duration, an iteration count, or the literal Forever. The duration mode is assumed if there is no literal x in the string. To specify a duration in seconds, you must precede the value with "0:0:", because the duration is in the format [days.]hours:minutes:seconds.
See RepeatBehavior for information about the string format you use to specify a RepeatBehavior value, either in script or in XAML. Creating a RepeatBehavior in XAML is possible only through a type conversion syntax, by setting a property that takes a RepeatBehavior value as an attribute string. Basically, a RepeatBehavior can be defined as an h:m:s string, an iterationsx string, or the special value "Forever".
The RepeatBehavior property applies both to specific animations and to the parent storyboard. For an animation in a storyboard, you should apply the RepeatBehavior to the storyboard; otherwise, the parent storyboard default of 1x will prevent child repeat behaviors from being applied. However, you might specify repeat behaviors on child animations if they are intended to run fewer seconds or iterations than the parent storyboard.