TX Text Control .NET for WPF

FormField Property

Property|Introduced in 31.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

The following example uses FormFieldEventArgs.FormField while handling FormFieldSettingsChanged.

textControl.FormFieldSettingsChanged += (_, e) =>
{
    e.FormField?.ScrollTo();
};

Limitations

Read only.