IXRPasswordBox::SetCaretBrush (Compact 2013)

3/28/2014

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

Syntax

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

Parameters

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

Return Value

Returns an HRESULT that indicates success or no success.

.NET Framework Equivalent

System.Windows.Controls.PasswordBox.CaratBrush

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPasswordBox