HorizontalAlignment Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |