Skip to main content

RichEditBehaviorOptions.KeepTextHighlightingOnClearFormatting Property

Gets or sets whether the ClearFormattingCommand removes text highlighting.

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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