ParallelTimeline.GetNaturalDurationCore Method (Clock)


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

Return the natural duration (duration of a single iteration) from a specified Clock.

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

protected override Duration GetNaturalDurationCore(
	Clock clock


Type: System.Windows.Media.Animation.Clock

The Clock to return the natural duration from.

Return Value

Type: System.Windows.Duration

The Duration quantity representing the natural duration.

A natural duration is the period of a single iteration. If this method returns Automatic it means that the natural duration is unknown. In this case, the NaturalDuration of the Clock is determined by the author. For example, the duration of streaming media would be determined by the provider of the streaming media.

.NET Framework
Available since 3.0
Return to top