# DateFormFieldEventArgs.DateFormField Property

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **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
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > DateFormFieldEventArgs.DateFormField Property
- **332 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/dateformfieldeventargs/dateformfield-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/dateformfieldeventargs/dateformfield-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/dateformfieldeventargs/dateformfield-property/llms-full.txt

---

### Description

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

### Syntax

```csharp
public DateFormField DateFormField { get; }
```

```vbnet
Public ReadOnly Property DateFormField As DateFormField
```

### Examples

The following example uses `DateFormFieldEventArgs.DateFormField` while handling `FormFieldDateChanged`.

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

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

### Limitations

Read only.

---

## Nearby

- **Previous:** [DateFormFieldEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/dateformfieldeventargs/llms-full.txt)
- **Next:** [DigitalSignature Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/digitalsignature/llms-full.txt)
