TX Text Control .NET for WPF

ControlChars Enumeration

Enumeration|Introduced in 23.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

Determines values for the control characters used in a TextControl document. The enumeration contains the following values:

Syntax

public enum ControlChars

Members

MemberValueDescription
ParagraphEnd10Defines the end of a paragraph (Keyboard: ENTER).
LineBreak11Defines a line break without beginning a new paragraph (Keyboard: SHIFT+ENTER).
PageBreak12Defines a page break (Keyboard: CTRL+ENTER).
ColumnBreak14Defines a page column break (Keyboard: CTRL+SHIFT+ENTER).
Tab9Defines a tabulator (Keyboard: TAB).
NonBreakingSpace160Defines a non-breaking space (Keyboard: CTRL+SHIFT+Space).
NonVisibleHyphen31Defines a non-visible hyphen (Keyboard: CTRL+(-)).

Examples

The following example selects the Tab value from the Control Chars enumeration and uses it as a documented workflow choice.

ControlChars value = ControlChars.Tab;
Console.WriteLine($"Using Control Chars: {value}");

See Also

TextCharCollection.Add Method.