Table of Contents

Enum HorizontalAlignment

Namespace
Alternet.UI
Assembly
Alternet.UI.Interfaces.dll

Used to describe how an element is positioned or stretched horizontally within a parent's layout slot.

public enum HorizontalAlignment

Fields

Center = 1

Center element horizontally.

Fill = 4

Stretch element horizontally within a remaining empty space which is not occupied by other sibling elements.

Left = 0

Align element towards the left of a parent's layout slot.

Right = 2

Align element towards the right of a parent's layout slot.

Stretch = 3

Stretch element horizontally within a parent's layout slot.