Back to Devexpress

CommentOptions Members

officefileapi-devexpress-dot-xtrarichedit-dot-commentoptions-dot-underscore-members.md

latest4.7 KB
Original Source

CommentOptions Members

Contains options for displaying the comments in a document.

Constructors

NameDescription
CommentOptions()Initializes a new instance of the CommentOptions class with the default settings.
CommentOptions(AnnotationOptions)Initializes a new CommentOptions object with specified settings.

Properties

NameDescription
AuthorGets or sets the default comment’s author.
ColorGets or sets the background color of the text to which a comment is attached.
HighlightCommentedRangeGets or sets whether to highlight commented document ranges.
ShowAllAuthorsGets or sets whether to show comments by all reviewers.
VisibilitySpecifies the visibility mode of a document comment.
VisibleAuthorsProvides access to a collection of reviewer names whose comments are visible.

Methods

NameDescription
Assign(BaseOptions)Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Resets all notification options to their default values. Inherited from RichEditNotificationOptions.
ResetColor()Applies default coloring scheme to comment colors.
ToString()Returns a string representing the currently enabled options. Inherited from BaseOptions.

Events

NameDescription
ChangedOccurs when the options are modified. Inherited from RichEditNotificationOptions.

See Also

CommentOptions Class

DevExpress.XtraRichEdit Namespace