# SelectionFormFieldEventArgs.SelectionFormField Property

> Gets an object representing the SelectionFormField that causes the event.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > SelectionFormFieldEventArgs.SelectionFormField Property
- **345 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selectionformfieldeventargs/selectionformfield-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selectionformfieldeventargs/selectionformfield-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selectionformfieldeventargs/selectionformfield-property/llms-full.txt

---

### Description

Gets an object representing the [SelectionFormField](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selectionformfield/llms-full.txt) that causes the event.

### Syntax

```csharp
public SelectionFormField SelectionFormField { get; }
```

```vbnet
Public ReadOnly Property SelectionFormField As SelectionFormField
```

### Examples

The following example uses `SelectionFormFieldEventArgs.SelectionFormField` while handling `FormFieldSelectionChanged`.

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

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

### Limitations

Read only.

---

## Nearby

- **Previous:** [SelectionFormFieldEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selectionformfieldeventargs/llms-full.txt)
- **Next:** [ServerTextControl Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/llms-full.txt)
