IXRTextBox::SetSelectionForeground (Compact 2013)
3/28/2014
This method sets the Brush used for the selected text in this text box.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetSelectionForeground(
IXRBrush *pSelectionForeground
) = 0;
Parameters
- pSelectionForeground
[in] Pointer to an object derived from IXRBrush that is used for the selected text in this text box.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
The value that you set in pSelectionForeground indicates the Brush used for the foreground of the selected text in this text-box control.
.NET Framework Equivalent
System.Windows.Controls.TextBox.SelectionForeground
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |