TX Text Control .NET Server

TextField Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets an object that represents the text field which causes the event. It is of the type TextField, DocumentTarget, DocumentLink, HypertextLink, PageNumberField, ApplicationField, CheckFormField, TextFormField or SelectionFormField. If the text field has been deleted, only the ID and the Name property are available.

Syntax

public TextField TextField { get; }

Examples

The following example uses TextFieldEventArgs.TextField while handling TextFieldClicked.

textControl.TextFieldClicked += (_, e) =>
{
    e.TextField?.ScrollTo();
};

Limitations

Read only.