TX Text Control .NET Server

TextFieldClicked Event

Event|Introduced in 23.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 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.

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