TX Text Control .NET for WPF

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

Syntax

public event TextFieldEventHandler TextFieldClicked;

Examples

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

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

See Also

Text Fields and Hypertext Links - Editing Marked Text Fields.