Windows Dev Center

TabAlignment enumeration

Alignment options for tab positions.

Syntax


public enum TabAlignment

Members

The TabAlignment enumeration has these members.

MemberValueDescription
Left | left0

Text is left justified from the tab position. This is the default.

Center | center1

Text is centered on the tab position.

Right | right2

Text is right justified from the tab position.

Decimal | decimal3

The decimal point is set at the tab position. This is useful for aligning a column of decimal numbers.

Bar | bar4

A vertical bar is positioned at the tab position. Text is not affected. Alignment bars on nearby lines at the same position form a continuous vertical line.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

See also

ITextParagraphFormat.GetTab
ITextParagraphFormat.AddTab

 

 

Show:
© 2015 Microsoft