Back to Devexpress

CommentInsertingEventHandler Delegate

officefileapi-devexpress-dot-spreadsheet-00ece869.md

latest2.0 KB
Original Source

CommentInsertingEventHandler Delegate

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

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Parameters

NameTypeDescription
senderObject

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

| | e | CommentInsertingEventArgs |

A CommentInsertingEventArgs object which contains event data.

|

Remarks

When you create a CommentInsertingEventHandler 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