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

CommentOptions Members

Contains options for displaying the comments in a document.

Constructors

Name Description
CommentOptions() Initializes a new instance of the CommentOptions class with the default settings.

Properties

Name Description
Author Gets or sets the default comment’s author.
Color Gets or sets the background color of the text to which a comment is attached.
HighlightCommentedRange Gets or sets whether commented document ranges are highlighted.
ShowAllAuthors Gets or sets whether to show comments by all reviewers.
Visibility Specifies the visibility mode of a document comment.
VisibleAuthors Provides access to a collection of reviewer names whose comments are visible.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the CommentOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update.
EndUpdate() Unlocks the CommentOptions object after a call to the BeginUpdate method and causes an immediate visual update.
Equals(Object, Object) static Determines 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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines 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

Name Description
Changed Occurs when the options are modified. Inherited from RichEditNotificationOptions.
See Also