KeyTimeType Enumeration


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

Represents the different types that may represent a KeyTime instance.

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

Public Enumeration KeyTimeType

Member nameDescription

Specifies that adjacent KeyFrames are each allotted a slice of time proportional to their length, respectively. The overall goal is to produce a length value that keeps the pace of the animation sequence constant.


Specifies that each KeyTime value is expressed as a percentage of the total time allotted for a given animation sequence.


Specifies that each KeyTime is expressed as a TimeSpan value relative to the BeginTime of an animation sequence.


Specifies that the allotted total time for an animation sequence is divided evenly amongst each of the key frames.

Each key frame's KeyTime specifies when that key frame ends. It does not specify how long the key time plays. The amount of time a key frame plays is determined by when the key frame ends, when the previous key frame ended, and the animation's duration. See Key-Frame Animations Overview for more information.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top