Skip to main content

CommentOptions.Color Property

Gets or sets the background color of the text to which a comment is attached.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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
AnnotationOptions
.Comments .Color
RichEditControlOptionsBase
.Comments .Color

Remarks

You can set the a comment color which is uniform throughout all comments and reviewers by specifying the Color property. Use the CommentOptions.ResetColor method to go back to the default color schema.

Default comment colors are obtained from the predefined color scheme, a distinct color for each reviewer. The colors are shown in the picture below.

CommentColors

See Also