Share via


IXRGradientStop::GetColor (Compact 2013)

3/28/2014

This method retrieves the color of this gradient stop.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetColor(
    COLORREF* pColor
) = 0;

Parameters

  • pColor
    [out] Pointer to a COLORREF value that specifies the solid color value of this gradient stop. COLORREF is an unsigned 32-bit value that specifies an RGB color.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Media.GradientStop.Color

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRGradientStop
IXRGradientStop::SetColor