Exporter (0) Imprimer
Développer tout
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Développer Réduire

KeyTime (DoubleKeyFrame)

Silverlight

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the time at which the key frame's target Value (DoubleKeyFrame) should be reached.

<object KeyTime="KeyTime"  .../>
value = object.KeyTime
object.KeyTime = value

Type: KeyTime

The time at which the key frame's current value should be equal to its Value property.

This property is read/write. The default value is null.

The string format for specifying a KeyTime is [days.]hours:minutes:seconds[.fractionalSeconds]. For more information, see the KeyTime reference topic.

Creating a Duration, KeyTime, RepeatBehavior, or TimeSpan in XAML is possible only through a type conversion syntax, by setting a property such as KeyTime that takes one of these types and specifying the value as an attribute string. The string format for all three is identical except that Duration can take the literals Automatic and Forever, and RepeatBehavior can take the literal Forever.

Although they can be obtained as objects from property values, the properties and methods on Duration, KeyTime, and TimeSpan have very little practical usage other than possibly resetting the Seconds property.

For more information on basic concepts, see Key-Frame Animations. Note that the Key-Frame Animations topic is written primarily for users of the managed API, and may not have code examples or specific information that address the JavaScript API scenarios.

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft