VerticalAlignment Enumeration

Defines how a control aligns itself vertically in its parent control.

Definition

Namespace: Avalonia.Layout
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
C#
public enum VerticalAlignment

Members

Stretch0 The control stretches to fill the height of the parent control.
Top1 The control aligns itself to the top of the parent control.
Center2 The control centers itself within the parent control.
Bottom3 The control aligns itself to the bottom of the parent control.

See Also