ObjectKeyFrame.Value property

Applies to Windows and Windows Phone

Gets or sets the key frame's target value.

Syntax


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 [.NET] | Platform::Object [C++]

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media.Animation
Windows::UI::Xaml::Media::Animation [C++]

Metadata

Windows.winmd

See also

ObjectKeyFrame

 

 

Show:
© 2014 Microsoft