RepeatBehavior Constructor (TimeSpan)
Collapse the table of content
Expand the table of content

RepeatBehavior Constructor (TimeSpan)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the RepeatBehavior structure with the specified repeat duration.

Namespace:  System.Windows.Media.Animation
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Sub New ( _
	duration As TimeSpan _
)

Parameters

duration
Type: System.TimeSpan
The total length of time that the Timeline should play (its active duration).

ExceptionCondition
ArgumentOutOfRangeException

duration evaluates to a negative number.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft