Skip to main content

RichEditBehaviorOptions.KeepTextHighlightingOnClearFormatting Property

Gets or sets whether the ClearFormattingCommand removes text highlighting.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

[DefaultValue(true)]
public virtual bool KeepTextHighlightingOnClearFormatting { get; set; }

Property Value

Type Default Description
Boolean true

True to retain text highlighting; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to KeepTextHighlightingOnClearFormatting
RichEditControlOptionsBase
.Behavior .KeepTextHighlightingOnClearFormatting
See Also