MediaTimeline Constructor (Nullable(TimeSpan), Duration, RepeatBehavior)

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

 

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:
© 2016 Microsoft