KeyTimeType Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents the different types that may represent a KeyTime instance.

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

Syntax

'Declaration
Public Enumeration KeyTimeType
public enum KeyTimeType
<object property="enumMemberName"/>

Members

Member name Description
Supported by Silverlight for Windows Phone Uniform The allotted total time for an animation sequence is divided evenly amongst each of the key frames.
Supported by Silverlight for Windows Phone TimeSpan Each KeyTime is expressed as a TimeSpan value relative to the BeginTime of an animation sequence.

Remarks

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. For more information, see Key-Frame Animations.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.