TX Text Control .NET for Windows Forms

TabType Enumeration

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

Description

Determines the tabulator type. The enumeration contains the following values:

Syntax

public enum TabType

Members

ValueValueDescription
LeftTab1The tab position is at the left side of the text.
RightTab2The tab position is at the right side of the text.
CenterTab3The text is centered to the tab position.
DecimalTab4The decimal sign is aligned at the tab position.
RightBorderTab5The tab is positioned right most and the text is diplayed at the left of this position. The tab position set with the TabPositions property is ignored. Only one tab of this kind is possible in a paragraph.

Examples

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

TabType value = TabType.LeftTab;
Console.WriteLine($"Using Tab Type: {value}");

Further Reading

  • Creating New Styles with TX Text Control .NET for Windows Forms –
  • Using Tabs in TX Text Control –