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

DXRichEditRangePermissionOptions.BracketsColor Property

Gets or sets the color of the visual marks (brackets) indicating the start and the end of a range with permission in a document with protection disabled. 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 Color BracketsColor { get; set; }

Property Value

Type Description
Color

A Color structure representing an ARGB color.

Property Paths

You can access this nested property as listed below:

Object Type Path to BracketsColor
RichEditControl
.RangePermissionOptions .BracketsColor

Remarks

Note

The BracketsColor affects the ranges that are editable by the current user only.

When document protection is disabled, the ranges with permission are highlighted with a certain color and enclosed with bookmark brackets, as shown on the image below.

RangesWithPermissions_BracketsColor

By default, the highlight 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.

See Also