CommentChanged Event
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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;Public Event CommentChanged As CommentEventHandlerExamples
The following example records useful context when comment changed occurs.
textViewGenerator.CommentChanged += (sender, e) =>
{
Console.WriteLine($"Comment Changed at {DateTime.Now:u}");
};AddHandler textViewGenerator.CommentChanged,
Sub(sender, e)
Console.WriteLine($"Comment Changed at {DateTime.Now:u}")
End Sub