DoubleAnimationUsingKeyFrames.GetNaturalDurationCore(Clock) Methode

Definitie

Geef een aangepaste natuurlijke Duration waarde op wanneer de Duration eigenschap is ingesteld op Automatic.

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

Parameters

clock
Clock

De Clock wiens natuurlijke duur gewenst is.

Retouren

Als het laatste sleutelframe van deze animatie een KeyTime, dan wordt deze waarde gebruikt als de NaturalDuration; anders duurt het één seconde.

Van toepassing op

Zie ook