KeyTimeType Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the different types that may represent a KeyTime instance.
public enum class KeyTimeType
public enum KeyTimeType
type KeyTimeType =
Public Enum KeyTimeType
- Inheritance
Name | Value | Description |
---|---|---|
Uniform | 0 | Specifies that the allotted total time for an animation sequence is divided evenly amongst each of the key frames. |
Percent | 1 | Specifies that each KeyTime value is expressed as a percentage of the total time allotted for a given animation sequence. |
TimeSpan | 2 | Specifies that each KeyTime is expressed as a TimeSpan value relative to the BeginTime of an animation sequence. |
Paced | 3 | 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. |
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.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: