FormFieldTextChanged 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 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;Public Event FormFieldTextChanged As TextFormFieldEventHandlerExamples
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}");
};AddHandler textViewGenerator.FormFieldTextChanged,
Sub(sender, e)
Console.WriteLine($"Form Field Text Changed at {DateTime.Now:u}")
End Sub