Timeline Constructor (Nullable<TimeSpan>, Duration, RepeatBehavior)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the Timeline class with the specified BeginTime, Duration, and RepeatBehavior.

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

protected Timeline(
	Nullable<TimeSpan> beginTime,
	Duration duration,
	RepeatBehavior repeatBehavior
)

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.

.NET Framework
Available since 3.0
Return to top
Show: