FormFieldTextChanged Event
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. 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.
textControl.FormFieldTextChanged += (sender, e) =>
{
Console.WriteLine($"Form Field Text Changed at {DateTime.Now:u}");
};AddHandler textControl.FormFieldTextChanged,
Sub(sender, e)
Console.WriteLine($"Form Field Text Changed at {DateTime.Now:u}")
End Sub