TX Text Control .NET for WPF

PermanentControlChars Property

Property|Introduced in 19.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

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 enumeration. The bitwise AND operator can be used to test for a given value.

Syntax

public PermanentControlChar PermanentControlChars { get; set; }

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.

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