Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

public bool ShowCaretInReadOnly { get; set; }

Property Value

Type Description
Boolean

true to show the caret; otherwise, false.

Remarks

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

See Also