Value Property
Collapse the table of content
Expand the table of content

ObjectKeyFrame::Value Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the key frame's target value.

Namespace:  System.Windows.Media.Animation
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

No code example is currently available or this language may not be supported.
<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 nullptr.

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 Windows Phone animation system can support.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft