KeyTimeType Enumeration
TOC
Collapse the table of content
Expand the table of content

KeyTimeType Enumeration

 

Represents the different types that may represent a KeyTime instance.

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

public enum KeyTimeType

Member nameDescription
Paced

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.

Percent

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

TimeSpan

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

Uniform

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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft