Back to Devexpress

ISpreadsheetComponent.CommentInserting Event

officefileapi-devexpress-dot-spreadsheet-dot-ispreadsheetcomponent-eda9614f.md

latest2.4 KB
Original Source

ISpreadsheetComponent.CommentInserting Event

Occurs before inserting a comment.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
event CommentInsertingEventHandler CommentInserting
vb
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 is about to be inserted and allows you to cancel insertion by setting e.Cancel to true.

See Also

ISpreadsheetComponent Interface

ISpreadsheetComponent Members

DevExpress.Spreadsheet Namespace