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

ISpreadsheetComponent.CommentRemoving Event

Occurs before deleting a comment.

Namespace: DevExpress.Spreadsheet

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

Declaration

event CommentRemovingEventHandler CommentRemoving
Event CommentRemoving As CommentRemovingEventHandler
event CommentRemovingEventHandler CommentRemoving
Event CommentRemoving As CommentRemovingEventHandler
event CommentRemovingEventHandler CommentRemoving
Event CommentRemoving As CommentRemovingEventHandler

Event Data

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

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
(Inherited from CancelEventArgs)
Index Gets an index of a comment in the collection.

Remarks

The CommentRemoving event provides you with an index in the Worksheet.Comments collection and allows you to cancel deletion.

See Also