Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Wpf.RichEdit


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