Timeline Constructor (Nullable<TimeSpan>, Duration, RepeatBehavior)
Initializes a new instance of the Timeline class with the specified BeginTime, Duration, and RepeatBehavior.
Assembly: PresentationCore (in PresentationCore.dll)
protected Timeline(
Nullable<TimeSpan> beginTime,
Duration duration,
RepeatBehavior repeatBehavior
)
You cannot use constructors in XAML.
Parameters
- beginTime
- Type: System.Nullable<TimeSpan>
The time at which this Timeline should begin. See the BeginTime property for more information.
- duration
- Type: System.Windows.Duration
The length of time for which this timeline plays, not counting repetitions. See the Duration property for more information.
- repeatBehavior
- Type: System.Windows.Media.Animation.RepeatBehavior
The repeating behavior of this timeline, either as an iteration Count or a repeat Duration. See the RepeatBehavior property for more information.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.