Freigeben über


Value (DoubleKeyFrame)

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

Gets or sets the key frame's target value.

<object Value="Double"  .../>
value = object.Value
object.Value = value

Property Value

Type: Double

The key frame's target value, which is the value of this key frame at its specified KeyTime.

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

Managed Equivalent

Value

Remarks

If an animation sets a Double value that is invalid for a particular property, the error is not detected during parsing. Instead, the result is typically a run-time SetValue error. If an animation sets an out-of-range value that is not otherwise invalid, the animation may not behave as expected. For other possible constraint information, check the Silverlight reference topic for the Double-type property you are animating.