Compartir a través de


IXRColorKeyFrame::SetValue (Compact 2013)

3/28/2014

This method sets the target color value for this key frame.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetValue(
    COLORREF Value
) = 0;

Parameters

  • Value
    [in] COLORREF value that specifies the new target color value of this key frame. COLORREF is an unsigned 32-bit value that specifies an RGB color.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You can use the RGB macro or RGBA macro to create a color value to supply to this method.

.NET Framework Equivalent

System.Windows.Media.Animation.ColorKeyFrame.Value

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRColorKeyFrame
IXRColorKeyFrame::GetValue