Point3DAnimationUsingKeyFrames.GetNaturalDurationCore Method (Clock)


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

Provide a custom natural Duration when the Duration property is set to Automatic.

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

protected override sealed Duration GetNaturalDurationCore(
	Clock clock


Type: System.Windows.Media.Animation.Clock

The Clock whose natural duration is desired.

Return Value

Type: System.Windows.Duration

If the last key frame of this animation is a KeyTime, then this value is used as the NaturalDuration; otherwise it will be one second.

.NET Framework
Available since 3.0
Return to top