A newer version of this page is available. Switch to the current version.

RichEditControl.ShowCaretInReadOnly Property

Gets or sets whether the caret is displayed if the control is read-only.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.2.dll


public bool ShowCaretInReadOnly { get; set; }

Property Value

Type Description

true to show the caret; otherwise, false.


Use the RichEditControl.IsCaretVisible property to show/hide the caret when the document is editable.

See Also