Back to Devexpress

SpreadsheetControl.CommentInserting Event

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-7ecefeaa.md

latest2.4 KB
Original Source

SpreadsheetControl.CommentInserting Event

Occurs before inserting a comment.

Namespace : DevExpress.Xpf.Spreadsheet

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

NuGet Package : DevExpress.Wpf.Spreadsheet

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.

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace