wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-7ecefeaa.md
Occurs before inserting a comment.
Namespace : DevExpress.Xpf.Spreadsheet
Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll
NuGet Package : DevExpress.Wpf.Spreadsheet
public event CommentInsertingEventHandler CommentInserting
Public Event CommentInserting As CommentInsertingEventHandler
The CommentInserting event's data class is CommentInsertingEventArgs. 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. |
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.
See Also