Share via


IXRSolidColorBrush::GetColor (Compact 2013)

3/28/2014

This method retrieves the color of this brush.

Syntax

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

Parameters

  • Color
    [out] COLORREF value that specifies the solid color value of this brush. 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.SolidColorBrush

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRSolidColorBrush
IXRSolidColorBrush::SetColor