HorizontalAlignment Enumeration
Defines how a control aligns itself horizontally in its parent control.
Namespace: Avalonia.LayoutAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public enum HorizontalAlignment
Public Enumeration HorizontalAlignment
| Stretch | 0 |
The control stretches to fill the width of the parent control.
|
| Left | 1 |
The control aligns itself to the left of the parent control.
|
| Center | 2 |
The control centers itself in the parent control.
|
| Right | 3 |
The control aligns itself to the right of the parent control.
|