Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaTimeline 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 MediaTimeline class that begins at the specified time over the specified time and has the specified repeat behavior.

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

public MediaTimeline(
	Nullable<TimeSpan> beginTime,
	Duration duration,
	RepeatBehavior repeatBehavior
)

Parameters

beginTime
Type: System.Nullable<TimeSpan>

The time to begin media playback.

duration
Type: System.Windows.Duration

The length of time for media playback.

repeatBehavior
Type: System.Windows.Media.Animation.RepeatBehavior

The repeat behavior to use when the playback duration has been reached.

.NET Framework
Available since 3.0
Return to top
Show:
© 2018 Microsoft