Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

RichEditBehaviorOptions.KeepTextHighlightingOnClearFormatting Property

Gets or sets whether the ClearFormattingCommand removes text highlighting.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v21.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