TX Text Control .NET for WPF

TextFieldChanged Event

Event|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.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.