TabAlignment Enum

Definition

Alignment options for tab positions.

public enum class TabAlignment
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class TabAlignment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum TabAlignment
var value = Windows.UI.Text.TabAlignment.left
Public Enum TabAlignment
Inheritance
TabAlignment
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Bar 4

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.

Center 1

Text is centered on the tab position.

Decimal 3

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

Left 0

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

Right 2

Text is right justified from the tab position.

Applies to

See also