TX Text Control .NET Server

ControlChars Property

Property|Introduced in 22.0
Namespace
TXTextControl.Web
Package
None: the TX Text Control .NET Server setup installs it, for .NET Framework.
Assembly
TXTextControl.Web.dll

Description

Specifies if control characters are visible or not.

Syntax

public bool ControlChars { get; set; }

Examples

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

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