Поделиться через


IXRTextBox::SetCaretBrush (Compact 2013)

3/28/2014

This method sets the brush used to render the vertical bar that indicates the insertion point in the text box.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetCaretBrush(
    __in IXRBrush* pCaretBrush
) = 0;

Parameters

  • pCaretBrush
    [in] Pointer to an IXRBrush object that specifies the brush used to render the vertical bar that indicates the insertion point.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.TextBox.CaretBrush

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTextBox