Skip to main content

VerticalAlignment Enumeration

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

Definition

Namespace: Avalonia.Layout
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public enum VerticalAlignment

Members

Stretch0The control stretches to fill the height of the parent control.
Top1The control aligns itself to the top of the parent control.
Center2The control centers itself within the parent control.
Bottom3The control aligns itself to the bottom of the parent control.

See Also

Reference

Avalonia.Layout Namespace