HorizontalAlignment Enumeration
Defines how a control aligns itself horizontally in its parent control.
Definition
Namespace: Avalonia.Layout
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public enum HorizontalAlignment
Public Enumeration HorizontalAlignment
type HorizontalAlignment
Members
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. |