KeyTimeType Enumeration

KeyTimeType Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

© 2017 Microsoft