# TextControlSettings.ControlChars Property

> Specifies if control characters are visible or not.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Web.MVC`
- **Package:** `TXTextControl.Web` (assembly `TXTextControl.Web.DocumentEditor.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC > TextControlSettings.ControlChars Property
- **365 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/controlchars-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/controlchars-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/controlchars-property/llms-full.txt

---

### Description

Specifies if control characters are visible or not.

### Syntax

```csharp
public bool ControlChars { get; set; }
```

```vbnet
Public Property ControlChars As Boolean
```

### Examples

In the current ASP.NET Core integration, `ControlChars` is configured through `TextControlSettings`. The following example sets it while creating the editor configuration.

```csharp
textControlSettings.ControlChars = true;
if (textControlSettings.ControlChars)
{
    Console.WriteLine("Control Chars is enabled for Text Control Settings.");
}
```

```vbnet
textControlSettings.ControlChars = True
If textControlSettings.ControlChars Then
    Console.WriteLine("Control Chars is enabled for Text Control Settings.")
End If
```

---

## Nearby

- **Previous:** [TextControlSettings.ContextMenusEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/contextmenusenabled-property/llms-full.txt)
- **Next:** [TextControlSettings.Culture Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/culture-property/llms-full.txt)
