# FormFieldEventArgs.FormField Property

> Gets an object that represents the form field which causes the event. It is of the type CheckFormField, TextFormField, SelectionFormField or DateFormField.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 31.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > FormFieldEventArgs.FormField Property
- **389 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/formfieldeventargs/formfield-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/formfieldeventargs/formfield-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/formfieldeventargs/formfield-property/llms-full.txt

---

### Description

Gets an object that represents the form field which causes the event. It is of the type [CheckFormField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/checkformfield/llms-full.txt), [TextFormField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textformfield/llms-full.txt), [SelectionFormField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/selectionformfield/llms-full.txt) or [DateFormField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/dateformfield/llms-full.txt).

### Syntax

```csharp
public FormField FormField { get; }
```

```vbnet
Public ReadOnly Property FormField As FormField
```

### Examples

The following example uses `FormFieldEventArgs.FormField` while handling `FormFieldSettingsChanged`.

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

```vbnet
AddHandler textControl.FormFieldSettingsChanged,
    Sub(sender, e)
        If e.FormField IsNot Nothing Then e.FormField.ScrollTo()
    End Sub
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [FormFieldEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/formfieldeventargs/llms-full.txt)
- **Next:** [FormulaException Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/formulaexception/llms-full.txt)
