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

Workbook.CommentRemoving Event

Occurs before a comment is deleted.

You need an active 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.v20.1.dll

Declaration

public event CommentRemovingEventHandler CommentRemoving
Public Event CommentRemoving As CommentRemovingEventHandler

Event Data

The CommentRemoving event's data class is CommentRemovingEventArgs. 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.

Implements

See Also