Share via


IXRObjectKeyFrame::SetValue (Windows Embedded CE 6.0)

1/6/2010

This method sets the target value for this key frame.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetValue(
    IXRDependencyObject* pValue
) = 0;

Parameters

  • pValue
    [in] Pointer to an object instance derived from IXRDependencyObject that is the target value of this key frame.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You can customize an object and then pass it into pValue. Examples of objects you can animate using key frames include slight variations of IXRBitmapImage objects, IXRShape objects, or IXRPath objects.

You can also apply variations of IXRTransform-derived objects to the value of the target object for each key frame by calling the target object's IXRUIElement::SetRenderTransform method.

.NET Framework Equivalent

System.Windows.Media.Animation.ObjectKeyFrame.Value

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRObjectKeyFrame
IXRObjectKeyFrame::GetValue