TX Text Control .NET Server

FormFieldTextChanged Event

Event|Introduced in 28.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 TextFormField has been changed. The event handler receives an argument of type TextFormFieldEventArgs containing data related to this event. The event occurs only when the text has been changed through typing or deleting text with the keyboard and after the text input position has left the field.

Syntax

public event TextFormFieldEventHandler FormFieldTextChanged;

Examples

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

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