TX Text Control .NET for Windows Forms

TextFieldChanged Event

Event
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 the text of a text field has been changed. The event handler receives an argument of type TextFieldEventArgs containing data related to this event.

Syntax

public event TextFieldEventHandler TextFieldChanged;

Examples

The following example records useful context when text field changed occurs.

textControl.TextFieldChanged += (sender, e) =>
{
    Console.WriteLine($"Text Field Changed at {DateTime.Now:u}");
};

See Also

Text Fields and Hypertext Links - Editing Marked Text Fields.