Back to Devexpress

CommentOptions.Color Property

officefileapi-devexpress-dot-xtrarichedit-dot-commentoptions-1598aa10.md

latest2.1 KB
Original Source

CommentOptions.Color Property

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

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public Color Color { get; set; }
vb
Public Property Color As Color

Property Value

TypeDescription
Color

A Color structure specifying the highlight color.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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.

See Also

CommentOptions Class

CommentOptions Members

DevExpress.XtraRichEdit Namespace