Edit

Share via


ParallelTimeline.GetNaturalDurationCore(Clock) Method

Definition

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

protected:
 override System::Windows::Duration GetNaturalDurationCore(System::Windows::Media::Animation::Clock ^ clock);
protected override System.Windows.Duration GetNaturalDurationCore (System.Windows.Media.Animation.Clock clock);
override this.GetNaturalDurationCore : System.Windows.Media.Animation.Clock -> System.Windows.Duration
Protected Overrides Function GetNaturalDurationCore (clock As Clock) As Duration

Parameters

clock
Clock

The Clock to return the natural duration from.

Returns

The Duration quantity representing the natural duration.

Remarks

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.

Applies to