Share via


IXRTextBox::SetSelectionBackground (Windows Embedded CE 6.0)

1/6/2010

This method sets the Brush that fills the background of the selected text in this text box.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetSelectionBackground(
    IXRBrush *pSelectionBackground
) = 0;

Parameters

  • pSelectionBackground
    [in] Pointer to an object derived from IXRBrush that fills the background of the selected text in this text box.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The Brush set by this method changes the background of the selected text in this text-box control.

.NET Framework Equivalent

System.Windows.Controls.TextBox.SelectionBackground

Requirements

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

See Also

Reference

IXRTextBox
IXRTextBox::GetSelectionBackground