# 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 Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 19.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.PermanentControlChars Property
- **326 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/permanentcontrolchars-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/permanentcontrolchars-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/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-winforms/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 change is then applied to the active document or user interface.

```csharp
textControl.PermanentControlChars = PermanentControlChar.Space;
textControl.Update();
```

```vbnet
textControl.PermanentControlChars = PermanentControlChar.Space
textControl.Update()
```

---

## Nearby

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