Changed Event
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Indicates that the contents of a document have been changed. The event handler receives an argument of type EventArgs containing data related to this event.
Syntax
public event EventHandler Changed;Public Event Changed As EventHandlerExamples
The following example records useful context when changed occurs.
textControl.Changed += (sender, e) =>
{
Console.WriteLine($"Changed at {DateTime.Now:u}");
};AddHandler textControl.Changed,
Sub(sender, e)
Console.WriteLine($"Changed at {DateTime.Now:u}")
End Sub