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

DXRichEditCommentOptions.Color Property

Gets or sets the background color of the comment balloon and the text to which a comment is applied. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

#Declaration

public Color Color { get; set; }

#Property Value

Type Description
Color

A Color structure specifying the highlight color.

#Property Paths

You can access this nested property as listed below:

Object Type Path to Color
DXRichEditAnnotationOptions
.CommentsOptions .Color
RichEditControl
.CommentOptions .Color

#Remarks

The Color property allows you to set the uniform color for all document comments and reviewers.

If the Color is not specified, comment highlighting colors are retrieved from the predefined color scheme (shown in the picture below), a distinct color for each reviewer.

CommentColors

See Also