TabAlignment Enum

Definition

Alignment options for tab positions.

public enum class TabAlignment
/// [Windows.Foundation.Metadata.Version(1)]
enum class TabAlignment
[Windows.Foundation.Metadata.Version(1)]
public enum TabAlignment
var value = Microsoft.UI.Text.TabAlignment.left
Public Enum TabAlignment
Inheritance
TabAlignment
Attributes

Fields

Name Value Description
Left 0

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

Center 1

Text is centered on the tab position.

Right 2

Text is right justified from the tab position.

Decimal 3

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

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.

Applies to

See also