次の方法で共有


IXRPanel::SetBackground (Windows Embedded CE 6.0)

1/6/2010

This method sets the brush to use to fill the panel.

Syntax

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

Parameters

  • pBackground
    [in] Pointer to an object derived from IXRBrush to use to fill the panel.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The brush you pass into pBackground determines the background of the panel. A brush can represent a solid color, a linear or radial gradient, an image, or an applied video brush. For more information about the brush classes derived from IXRBrush, see IXRBrush.

.NET Framework Equivalent

System.Windows.Controls.Panel.Background

Requirements

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

See Also

Reference

IXRPanel
IXRPanel::GetBackground