HorizontalAlignment Enumeration

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

Definition

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

Members

Stretch0 The control stretches to fill the width of the parent control.
Left1 The control aligns itself to the left of the parent control.
Center2 The control centers itself in the parent control.
Right3 The control aligns itself to the right of the parent control.

See Also