TX Text Control .NET for Windows Forms

CommentDeleted Event

Event|Introduced in 30.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when a comment has been removed from the document. The event handler receives an argument of type CommentEventArgs containing data related to this event.

Syntax

public event CommentEventHandler CommentDeleted;

Examples

The following example records useful context when comment deleted occurs.

textControl.CommentDeleted += (sender, e) =>
{
    Console.WriteLine($"Comment Deleted at {DateTime.Now:u}");
};