# TextFormFieldEventArgs Class

> The TextFormFieldEventArgs class provides data for the TextControl.FormFieldTextChanged event.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 28.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
- **Inherits:** `System.EventArgs`
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > TextFormFieldEventArgs Class
- **420 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textformfieldeventargs/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textformfieldeventargs/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textformfieldeventargs/llms-full.txt

---

### Description

The TextFormFieldEventArgs class provides data for the [TextControl.FormFieldTextChanged](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/formfieldtextchanged-event/llms-full.txt) event.

### Syntax

```csharp
public class TextFormFieldEventArgs : EventArgs
```

```vbnet
Public Class TextFormFieldEventArgs
    Inherits EventArgs
```

### Examples

The following example uses `TextFormFieldEventArgs.TextFormField` while handling `FormFieldTextChanged`.

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

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

---

## In This Section

- [TextFormFieldEventArgs.TextFormField Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textformfieldeventargs/textformfield-property/llms-full.txt): Gets an object representing the TextFormField that causes the event.

---

## Nearby

- **Previous:** [TextFormField.EmptyWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textformfield/emptywidth-property/llms-full.txt)
- **Next:** [TextFormFieldEventArgs.TextFormField Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textformfieldeventargs/textformfield-property/llms-full.txt)
