# TextControl.EditableRegionHighlightMode Property

> Gets or sets a value indicating whether all the editable regions in the document are highlighted. The value of this property is only used if the highlight mode of a certain editable region is set to HighlightMode.Auto.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 30.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.EditableRegionHighlightMode Property
- **466 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/editableregionhighlightmode-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/editableregionhighlightmode-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/editableregionhighlightmode-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether all the editable regions in the document are highlighted. The value of this property is only used if the highlight mode of a certain editable region is set to `HighlightMode.Auto`.

### Syntax

```csharp
public HighlightMode EditableRegionHighlightMode { get; set; }
```

```vbnet
Public Property EditableRegionHighlightMode As HighlightMode
```

### Members

| Value | Description |
|---|---|
| Activated | Default. An editable region is highlighted when it contains the text input position. |
| Always | All editable regions are highlighted. |
| Never | No editable region is highlighted. |
| Auto | This value cannot be used for this property. |

### Examples

The following example uses `TextControl.EditableRegionHighlightMode` to configure editable region highlight mode as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.EditableRegionHighlightMode = HighlightMode.Never;
Console.WriteLine($"Editable Region Highlight Mode used by Text Control: {textControl.EditableRegionHighlightMode}");
```

```vbnet
textControl.EditableRegionHighlightMode = HighlightMode.Never
Console.WriteLine($"Editable Region Highlight Mode used by Text Control: {textControl.EditableRegionHighlightMode}")
```

---

## Nearby

- **Previous:** [TextControl.EditableRegionEntered Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/editableregionentered-event/llms-full.txt)
- **Next:** [TextControl.EditableRegionLeft Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/editableregionleft-event/llms-full.txt)
