Table of Contents

Enum HorizontalAlignment

Namespace
Avalonia.Layout
Assembly
Avalonia.Base.dll

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

public enum HorizontalAlignment

Fields

Center = 2

The control centers itself in the parent control.

Left = 1

The control aligns itself to the left of the parent control.

Right = 3

The control aligns itself to the right of the parent control.

Stretch = 0

The control stretches to fill the width of the parent control.