IXRControl::SetBackground (Compact 2013)

3/28/2014

This method sets the brush that provides the background of this control.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetBackground(
    IXRBrush *pBackground
) = 0; 

Parameters

  • pBackground
    [in] Pointer to an IXRBrush object that represents the brush that provides the background of the control.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Control.Background

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRControl
IXRControl::SetBackground