# TextFrame.EditableRegions Property

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > TextFrame.EditableRegions Property
- **475 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/editableregions-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/editableregions-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/editableregions-property/llms-full.txt

---

### Description

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

### Syntax

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

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

### Examples

The following example applies bold formatting through the text frame's selection by using `TextFrame.EditableRegions`.

```csharp
Selection formattedSelection = textFrame.Selection;
formattedSelection.Bold = true;
textFrame.Selection = formattedSelection;

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

```vbnet
Dim formattedSelection As Selection = textFrame.Selection
formattedSelection.Bold = True
textFrame.Selection = formattedSelection

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

### Limitations

Read only.

---

## Nearby

- **Previous:** [TextFrame.Drawings Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/drawings-property/llms-full.txt)
- **Next:** [TextFrame.Find Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/find-method/llms-full.txt)
