# TextControl.OnEditableRegionLeft Method

> Raises the EditableRegionLeft event.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 25.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.OnEditableRegionLeft Method
- **536 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/oneditableregionleft-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/oneditableregionleft-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/oneditableregionleft-method/llms-full.txt

---

### Description

Raises the EditableRegionLeft event.

### Syntax

```csharp
protected virtual void OnEditableRegionLeft(EditableRegionEventArgs e);
```

```vbnet
Protected Overridable Sub OnEditableRegionLeft(e As EditableRegionEventArgs)
```

### Parameters

| Parameter | Description |
|---|---|
| e | Specifies an [EditableRegionEventArgs](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/editableregioneventargs/llms-full.txt) object that contains the event data. |

### Examples

The following example extends Text Control and performs custom processing when On Editable Region Left is invoked.

```csharp
class CustomTextControl : TXTextControl.WPF.TextControl
{
    protected override void OnEditableRegionLeft(EditableRegionEventArgs e)
    {
        // Add custom processing before registered event handlers run.
        base.OnEditableRegionLeft(e);
    }
}
```

```vbnet
Class CustomTextControl
    Inherits TXTextControl.WPF.TextControl

    Protected Overrides Sub OnEditableRegionLeft(e As EditableRegionEventArgs)
        ' Add custom processing before registered event handlers run.
        MyBase.OnEditableRegionLeft(e)
    End Sub
End Class
```

---

## Nearby

- **Previous:** [TextControl.OnEditableRegionEntered Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/oneditableregionentered-method/llms-full.txt)
- **Next:** [TextControl.OnFootnoteCreated Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/onfootnotecreated-method/llms-full.txt)
