Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.25 KB

timeline_repeatbehavior.md

File metadata and controls

34 lines (24 loc) · 1.25 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Media.Animation.Timeline.RepeatBehavior
winrt property

Microsoft.UI.Xaml.Media.Animation.Timeline.RepeatBehavior

-description

Gets or sets the repeating behavior of this timeline.

-xaml-syntax

<timeline RepeatBehavior="repeatBehaviorValue"/>

-xaml-values

repeatBehaviorValue
repeatBehaviorValueA RepeatBehavior expressed as a string. This can be an iteration count or a timespan string. For more information, see RepeatBehavior.
## -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](repeatbehavior.md) with a **Count** value of 1, which indicates that the timeline plays once.

-remarks

For more info and examples, see the RepeatBehavior Struct.

-examples

-see-also