Share via


HorizontalAlignment Enum

Definition

Specifies the horizontal alignment of text or elements.

public enum class HorizontalAlignment
public enum HorizontalAlignment
type HorizontalAlignment = 
Public Enum HorizontalAlignment
Inheritance
HorizontalAlignment

Fields

Name Value Description
Left 0

Aligns content to the left edge.

Center 1

Centers content horizontally.

Right 2

Aligns content to the right edge.

Justified 3

Adjusts spacing to fill the available width, creating even left and right edges.

Applies to