Expand Minimize

KeyTimeType Enumeration

Represents the different types that may represent a KeyTime instance.

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

type KeyTimeType
<object property="enumerationMemberName" .../>

Member nameDescription
PacedSpecifies 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.
PercentSpecifies that each KeyTime value is expressed as a percentage of the total time allotted for a given animation sequence.
TimeSpanSpecifies that each KeyTime is expressed as a TimeSpan value relative to the BeginTime of an animation sequence.
UniformSpecifies 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft