Timeline.RepeatBehavior property

Applies to Windows and Windows Phone

Gets or sets the repeating behavior of this timeline.

Syntax


public RepeatBehavior RepeatBehavior { get; set; }


<timeline RepeatBehavior="repeatBehaviorValue"/>

XAML Values

repeatBehaviorValue

A RepeatBehavior expressed as a string. This can be an iteration count or a timespan string. For more information, see RepeatBehavior.

Property value

Type: RepeatBehavior

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media.Animation
Windows::UI::Xaml::Media::Animation [C++]

Metadata

Windows.winmd

See also

Timeline

 

 

Show:
© 2014 Microsoft