# TextControl.PermanentControlChars Property

> Gets or sets a value indicating which control characters are shown permanently on the screen. The property's value can be a bitwise OR combination of the PermanentControlChar enumeration. The bitwise AND operator can be used to test for a given value.

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

---

### Description

Gets or sets a value indicating which control characters are shown permanently on the screen. The property's value can be a bitwise OR combination of the [PermanentControlChar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/permanentcontrolchar/enumeration/llms-full.txt) enumeration. The bitwise AND operator can be used to test for a given value.

### Syntax

```csharp
public PermanentControlChar PermanentControlChars { get; set; }
```

```vbnet
Public Property PermanentControlChars As PermanentControlChar
```

### Examples

The following example uses `TextControl.PermanentControlChars` to configure permanent control chars as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.PermanentControlChars = PermanentControlChar.Space;
Console.WriteLine($"Permanent Control Chars used by Text Control: {textControl.PermanentControlChars}");
```

```vbnet
textControl.PermanentControlChars = PermanentControlChar.Space
Console.WriteLine($"Permanent Control Chars used by Text Control: {textControl.PermanentControlChars}")
```

---

## Nearby

- **Previous:** [TextControl.Paste Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/paste-method/llms-full.txt)
- **Next:** [TextControl.PointFromDocument Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/pointfromdocument-method/llms-full.txt)
