Windows Dev Center

KeyTimeType Enumeration

Represents the different types that may represent a KeyTime instance.

Namespace:  System.Windows.Media.Animation
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public enum KeyTimeType
<object property="enumMemberName"/>

Member nameDescription
UniformThe allotted total time for an animation sequence is divided evenly amongst each of the key frames.
TimeSpanEach KeyTime is expressed as a TimeSpan value relative to the BeginTime of an animation sequence.

Each key frame's KeyTime specifies when that key frame ends. It does not specify how long the key frame 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft