Skip to main content
A newer version of this page is available. .

DXRichEditBehaviorOptions.KeepTextHighlightingOnClearFormatting Property

Gets or sets whether the ClearFormattingCommand removes the text highlighting. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

public bool KeepTextHighlightingOnClearFormatting { get; set; }

Property Value

Type Description
Boolean

true, to retain text highlighting; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to KeepTextHighlightingOnClearFormatting
RichEditControl
.BehaviorOptions .KeepTextHighlightingOnClearFormatting
See Also