Back to Devexpress

Workbook.CommentRemoving Event

officefileapi-devexpress-dot-spreadsheet-dot-workbook-3b28f2ea.md

latest2.1 KB
Original Source

Workbook.CommentRemoving Event

Occurs before a comment is deleted.

You need a 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.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public event CommentRemovingEventHandler CommentRemoving
vb
Public Event CommentRemoving As CommentRemovingEventHandler

Event Data

The CommentRemoving event's data class is CommentRemovingEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
IndexGets 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

CommentRemoving

See Also

Workbook Class

Workbook Members

DevExpress.Spreadsheet Namespace