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

CommentOptions.Color Property

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v18.2.Core.dll

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:

Library Object Type Path to Color
WinForms Controls SnapControlOptions
.Comments.Color
RichEditControlOptions
.Comments.Color
WPF Controls RichEditControlOptions
.Comments.Color
Office File API 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