.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ISpreadsheetComponent.CommentInserting Event

Occurs before inserting a comment.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

event CommentInsertingEventHandler CommentInserting
Event CommentInserting As CommentInsertingEventHandler
event CommentInsertingEventHandler CommentInserting
Event CommentInserting As CommentInsertingEventHandler
event CommentInsertingEventHandler CommentInserting
Event CommentInserting As CommentInsertingEventHandler

Event Data

The CommentInserting event handler receives an argument of the CommentInsertingEventArgs type. The following properties provide information specific to this event.

Property Description
Author Gets or sets a name of the comment author.
Cancel Gets or sets a value indicating whether the event should be canceled.
(Inherited from CancelEventArgs)
Reference Gets the reference to the cell containing the comment.
Text Specifies the text of a comment.
Visible Gets or sets a value indicating whether the comment should be displayed in a cell.

Remarks

The CommentInserting event provides you with information on a comment which is about to be inserted and allows you to cancel insertion by setting e.Cancel to true.

See Also