TX Text Control .NET for WPF

ControlChars Property

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

Description

Specifies if control characters are visible or not. This is a dependency property.

Syntax

public bool ControlChars { get; set; }

Examples

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

textControl.ControlChars = true;
if (textControl.ControlChars)
{
    Console.WriteLine("Text Control: Control Chars is enabled.");
}