FormField Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets an object that represents the form field which causes the event. It is of the type CheckFormField, TextFormField, SelectionFormField or DateFormField.
Syntax
public FormField FormField { get; }Public ReadOnly Property FormField As FormFieldExamples
The following example uses FormFieldEventArgs.FormField while handling FormFieldSettingsChanged.
textControl.FormFieldSettingsChanged += (_, e) =>
{
e.FormField?.ScrollTo();
};AddHandler textControl.FormFieldSettingsChanged,
Sub(sender, e)
If e.FormField IsNot Nothing Then e.FormField.ScrollTo()
End SubLimitations
Read only.