# TextControl.EditableRegions Property

> Gets a collection of all editable regions contained in the document. The property's value is an object of the type EditableRegionCollection.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.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.EditableRegions Property
- **358 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/editableregions-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/editableregions-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/editableregions-property/llms-full.txt

---

### Description

Gets a collection of all editable regions contained in the document. The property's value is an object of the type [EditableRegionCollection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/editableregioncollection/llms-full.txt).

### Syntax

```csharp
public EditableRegionCollection EditableRegions { get; }
```

```vbnet
Public ReadOnly Property EditableRegions As EditableRegionCollection
```

### Examples

The following example iterates through the editable regions collection and processes each editable region.

```csharp
foreach (EditableRegion editableRegion in textControl.EditableRegions)
{
    Console.WriteLine(editableRegion.HighlightMode);
}
```

```vbnet
For Each editableRegion As EditableRegion In textControl.EditableRegions
    Console.WriteLine(editableRegion.HighlightMode)
Next
```

### Limitations

Runtime only.

Read only.

---

## Nearby

- **Previous:** [TextControl.EditableRegionLeft Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/editableregionleft-event/llms-full.txt)
- **Next:** [TextControl.EditMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/editmode-property/llms-full.txt)
