VerticalAlignment Enum
Definition
Defines how a control aligns itself vertically in its parent control.
public enum VerticalAlignment
Fields
| Name | Description |
|---|---|
| Bottom | The control aligns itself to the bottom of the parent control. |
| Center | The control centers itself within the parent control. |
| Stretch | The control stretches to fill the height of the parent control. |
| Top | The control aligns itself to the top of the parent control. |
Bottom Field
The control aligns itself to the bottom of the parent control.
public Avalonia.Layout.VerticalAlignment Bottom
Center Field
The control centers itself within the parent control.
public Avalonia.Layout.VerticalAlignment Center
Stretch Field
The control stretches to fill the height of the parent control.
public Avalonia.Layout.VerticalAlignment Stretch
Top Field
The control aligns itself to the top of the parent control.
public Avalonia.Layout.VerticalAlignment Top