Back to Devexpress

CommentRemovingEventHandler Delegate

officefileapi-devexpress-dot-spreadsheet-d52ae63d.md

latest2.0 KB
Original Source

CommentRemovingEventHandler Delegate

A method that will handle the SpreadsheetControl.CommentRemoving and SpreadsheetControl.CommentRemoving events.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
[ComVisible(true)]
public delegate void CommentRemovingEventHandler(
    object sender,
    CommentRemovingEventArgs e
);
vb
<ComVisible(True)>
Public Delegate Sub CommentRemovingEventHandler(
    sender As Object,
    e As CommentRemovingEventArgs
)

Parameters

NameTypeDescription
senderObject

The event source. This parameter identifies the SpreadsheetControl which raised the event.

| | e | CommentRemovingEventArgs |

A CommentRemovingEventArgs object which contains event data.

|

Remarks

When you create a CommentRemovingEventHandler delegate, you identify the method that handles the corresponding event. To associate the event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see the following topic: Handle and Raise Events.

See Also

DevExpress.Spreadsheet Namespace