Back to Devexpress

ISpreadsheetComponent.CommentRemoving Event

officefileapi-devexpress-dot-spreadsheet-dot-ispreadsheetcomponent-0c65ba75.md

latest1.8 KB
Original Source

ISpreadsheetComponent.CommentRemoving Event

Occurs before deleting a comment.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
event CommentRemovingEventHandler CommentRemoving
vb
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.

See Also

ISpreadsheetComponent Interface

ISpreadsheetComponent Members

DevExpress.Spreadsheet Namespace