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.
During the relative course of an animation, a KeyTime instance specifies the precise timing when a particular key frame should take place.
public value class KeyTime : IEquatable<System::Windows::Media::Animation::KeyTime>
[System.ComponentModel.TypeConverter(typeof(System.Windows.KeyTimeConverter))] public struct KeyTime : IEquatable<System.Windows.Media.Animation.KeyTime>
[<System.ComponentModel.TypeConverter(typeof(System.Windows.KeyTimeConverter))>] type KeyTime = struct
Public Structure KeyTime Implements IEquatable(Of KeyTime)
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.
XAML Attribute Usage
An integer value consisting of 1 to 7 digits that specifies fractional seconds. For more information, see the TimeSpan property.
A floating-point value between 0 and 100, inclusive, that specifies this KeyTime as a percentage of the animation's total duration. This should be followed by the literal character
%.For more information, see the Percent property.
Gets the Paced value which creates timing behavior resulting in an animation that interpolates at a constant rate.
Gets the time when the key frame ends expressed as a percentage of the total duration of the animation.
Gets the time when the key frame ends expressed as a time relative to the beginning of the animation.
Gets the Type value this instance represents.
Gets the Uniform value which divides the allotted time of the animation evenly between key frames.
Indicates whether this instance is equal to the specified KeyTime.
Indicates whether the two specified KeyTime structures are equal.
Indicates whether this instance equals the specified object.
Returns an integer hash code representing this instance.
Returns a string representing this KeyTime instance.
Overloaded operator that compares two KeyTime structures for equality.
|Implicit(TimeSpan to KeyTime)|
Overloaded operator that compares two KeyTime structures for inequality.