Value property
Collapse the table of content
Expand the table of content

ObjectKeyFrame.Value property

Gets or sets the key frame's target value.

Syntax


Public Property Value As Object


<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 (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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:
© 2016 Microsoft