Share via


IXRObjectKeyFrame::SetValue (Compact 2013)

3/28/2014

This method sets the target value for this key frame.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetValue(
    __in 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 whether or not the method succeeded.

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 IXRUIElement::SetRenderTransform method.

.NET Framework Equivalent

System.Windows.Media.Animation.ObjectKeyFrame.Value

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRObjectKeyFrame
IXRObjectKeyFrame::GetValue