Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ObjectKeyFrame.Value Property

Gets or sets the key frame's target value.

Namespace:  System.Windows.Media.Animation
Assembly:  System.Windows (in System.Windows.dll)
public Object Value { get; set; }
<DiscreteObjectKeyFrame>
  <DiscreteObjectKeyFrame.Value>
    singleObject
  </DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame Value="stringForObject"/>

XAML Values

singleObject

A single object element for the object that provides the value. This object must support object element syntax for default construction.

stringForObject

A string that is interpreted by a particular object's attributed type converter, which can generate an instance of the object. You can use this form for enumeration values, by specifying the name of the desired constant from the enumeration.

Property Value

Type: System.Object
The key frame's target value, which is the value of this key frame at its specified KeyTime. The default is null.

Dependency property identifier field: ValueProperty

DiscreteObjectKeyFrame is shown in the XAML usages for ObjectKeyFrame properties because DiscreteObjectKeyFrame is the only object animation keyframe type that the Silverlight animation system can support.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.