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.v19.1.Core.dll

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:

Library Object Type Path to KeepTextHighlightingOnClearFormatting
WinForms Controls SnapControlOptions
.Behavior.KeepTextHighlightingOnClearFormatting
RepositoryItemRichTextEdit
.OptionsBehavior.KeepTextHighlightingOnClearFormatting
RichEditControlOptions
.Behavior.KeepTextHighlightingOnClearFormatting
WPF Controls RichEditControlOptions
.Behavior.KeepTextHighlightingOnClearFormatting
Office File API RichEditControlOptionsBase
.Behavior.KeepTextHighlightingOnClearFormatting
ASP.NET Web Forms Controls ASPxRichEditSettings
.Behavior.KeepTextHighlightingOnClearFormatting
See Also