Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXRichEditRangePermissionOptions.HighlightColor Property

Gets or sets the color used to highlight each editable range in a protected document with protection enabled. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

#Declaration

public Color HighlightColor { get; set; }

#Property Value

Type Description
Color

A Color structure representing the ARGB color.

#Property Paths

You can access this nested property as listed below:

Object Type Path to HighlightColor
RichEditControl
.RangePermissionOptions .HighlightColor

#Remarks

When document protection is enabled, the ranges with permissions appear in the following way.

RangePermissionOptions_ProtectionEnabled

By default, the highlighting color is selected from a predefined colors collection. This is done to specify different highlighting colors for ranges that belong to different user groups. There is no straightforward way to change these colors manually. The HighlightColor property changes the highlighting color for ranges that are editable by the current user only.

See Also