VerticalAlignment Enumeration
Defines how a control aligns itself vertically in its parent control.
Definition
Namespace: Avalonia.Layout
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public enum VerticalAlignment
Public Enumeration VerticalAlignment
type VerticalAlignment
Members
Stretch | 0 | The control stretches to fill the height of the parent control. |
Top | 1 | The control aligns itself to the top of the parent control. |
Center | 2 | The control centers itself within the parent control. |
Bottom | 3 | The control aligns itself to the bottom of the parent control. |