TextField Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public ReadOnly Property TextField As TextFieldExamples
The following example uses TextFieldEventArgs.TextField while handling TextFieldClicked.
textControl.TextFieldClicked += (_, e) =>
{
e.TextField?.ScrollTo();
};AddHandler textControl.TextFieldClicked,
Sub(sender, e)
If e.TextField IsNot Nothing Then e.TextField.ScrollTo()
End SubLimitations
Read only.