# TextControl.InputParagraphChanged Event

> Occurs when the text input position has been moved to another paragraph. 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
- **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.InputParagraphChanged Event
- **310 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/inputparagraphchanged-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/inputparagraphchanged-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/inputparagraphchanged-event/llms-full.txt

---

### Description

Occurs when the text input position has been moved to another paragraph. The event handler receives an argument of type EventArgs containing data related to this event.

### Syntax

```csharp
public event EventHandler InputParagraphChanged;
```

```vbnet
Public Event InputParagraphChanged As EventHandler
```

### Examples

The following example records useful context when input paragraph changed occurs.

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

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

---

## Nearby

- **Previous:** [TextControl.InputFormattingStyleChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/inputformattingstylechanged-event/llms-full.txt)
- **Next:** [TextControl.InputPosition Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/inputposition-property/llms-full.txt)
