Skip to main content

SpreadsheetControl.CommentRemoving Event

Occurs before deleting a comment.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.1.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

Declaration

public event CommentRemovingEventHandler CommentRemoving

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.

See Also