Partager via


IXRTextBlock::SetBackground (Windows Embedded CE 6.0)

1/6/2010

This method sets the Brush that provides the background of this text block.

Syntax

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

Parameters

  • pBackground
    [in] Pointer to an object derived from IXRBrush that references the Brush that provides the new background of this text block.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

None.

Requirements

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

See Also

Reference

IXRTextBlock
IXRTextBlock::GetBackground