# TextControl.VExpanded Event

> Occurs when the Text Control has automatically expanded its size vertically. The event handler receives an argument of type EventArgs containing data related to this event.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Event
- **Introduced:** 11.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextControl.VExpanded Event
- **295 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/vexpanded-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/vexpanded-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/vexpanded-event/llms-full.txt

---

### Description

Occurs when the Text Control has automatically expanded its size vertically. The event handler receives an argument of type EventArgs containing data related to this event.

### Syntax

```csharp
public event EventHandler VExpanded;
```

```vbnet
Public Event VExpanded As EventHandler
```

### Examples

The following example records useful context when vexpanded occurs.

```csharp
textControl.VExpanded += (sender, e) =>
{
    Console.WriteLine($"VExpanded at {DateTime.Now:u}");
};
```

```vbnet
AddHandler textControl.VExpanded,
    Sub(sender, e)
        Console.WriteLine($"VExpanded at {DateTime.Now:u}")
    End Sub
```

---

## Nearby

- **Previous:** [TextControl.VerticalRulerBar Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/verticalrulerbar-property/llms-full.txt)
- **Next:** [TextControl.ViewMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/viewmode-property/llms-full.txt)
