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)
Syntax
Public Sub New ( _
duration As TimeSpan _
)
public RepeatBehavior(
TimeSpan duration
)
Parameters
- duration
Type: System..::.TimeSpan
The total length of time that the Timeline should play (its active duration).
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | duration evaluates to a negative number. |
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone