TX Text Control .NET Server

CommentChanged Event

Event|Introduced in 30.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

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

Syntax

public event CommentEventHandler CommentChanged;

Examples

The following example records useful context when comment changed occurs.

textViewGenerator.CommentChanged += (sender, e) =>
{
    Console.WriteLine($"Comment Changed at {DateTime.Now:u}");
};