Back to Devexpress

Workbook.CommentInserting Event

officefileapi-devexpress-dot-spreadsheet-dot-workbook-5e5509f8.md

latest2.7 KB
Original Source

Workbook.CommentInserting Event

Occurs before a comment is inserted.

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this event in production code.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public event CommentInsertingEventHandler CommentInserting
vb
Public Event CommentInserting As CommentInsertingEventHandler

Event Data

The CommentInserting event's data class is CommentInsertingEventArgs. The following properties provide information specific to this event:

PropertyDescription
AuthorGets or sets a name of the comment author.
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
ReferenceGets the reference to the cell containing the comment.
TextSpecifies the text of a comment.
VisibleGets 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 the end-user is inserting and allows you to cancel insertion by setting e.Cancel to true.

Implements

CommentInserting

See Also

Workbook Class

Workbook Members

DevExpress.Spreadsheet Namespace