Skip to main content

SpreadsheetCommentBehaviorOptions Members

Provides options to restrict an end-user’s ability to modify comments embedded into the SpreadsheetControl‘s document.

Constructors

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

Properties

Name Description
Delete Gets or sets the document’s capability to delete comments.
DeleteAllowed Gets whether an end-user is allowed to delete comments.
Edit Gets or sets the document’s capability to edit the existing comments.
EditAllowed Gets whether an end-user is allowed to edit the existing comments.
Insert Gets or sets the document’s capability to add new comments.
InsertAllowed Gets whether an end-user is allowed to insert comments.
Move Gets or sets the document’s capability to drag comments to a new location.
MoveAllowed Gets whether an end-user is allowed to move the comment box.
Resize Gets or sets the document’s capability to change the size of the comment box.
ResizeAllowed Gets whether an end-user is allowed to resize the comment box.
ShowHide Gets or sets the document’s capability to display or hide the existing comments.
ShowHideAllowed Gets whether an end-user is allowed to show or hide comments.
ShowOnHover Gets or sets the document’s capability to display a comment when the mouse hovers over a cell with a comment indicator.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the SpreadsheetCommentBehaviorOptions object passed as a parameter.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
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.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.
See Also