Share via


IXRControl::SetForeground (Windows Embedded CE 6.0)

1/6/2010

This method sets the brush that paints the foreground of this control.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetForeground(
    IXRBrush *pForeground
) = 0; 

Parameters

  • pForeground
    [in] Pointer to an object derived from IXRBrush that paints the new foreground of this control.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Control.Foreground

Requirements

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

See Also

Reference

IXRControl
IXRControl::GetForeground