Back to Devexpress

RichEditBehaviorOptions.KeepTextHighlightingOnClearFormatting Property

officefileapi-devexpress-dot-xtrarichedit-dot-richeditbehavioroptions-b5369e1d.md

latest1.8 KB
Original Source

RichEditBehaviorOptions.KeepTextHighlightingOnClearFormatting Property

Gets or sets whether the ClearFormattingCommand removes text highlighting.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[DefaultValue(true)]
public virtual bool KeepTextHighlightingOnClearFormatting { get; set; }
vb
<DefaultValue(True)>
Public Overridable Property KeepTextHighlightingOnClearFormatting As Boolean

Property Value

TypeDefaultDescription
Booleantrue

True to retain text highlighting; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to KeepTextHighlightingOnClearFormatting
RichEditControlOptionsBase

.Behavior .KeepTextHighlightingOnClearFormatting

|

See Also

RichEditBehaviorOptions Class

RichEditBehaviorOptions Members

DevExpress.XtraRichEdit Namespace