Table of Contents

Enum HorizontalAlignment

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

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

public enum HorizontalAlignment

Fields

Center = 1

Center control horizontally.

Fill = 4

Stretch control horizontally within a remaining empty space which is not occupied by other sibling controls.

Left = 0

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

Right = 2

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

Stretch = 3

Stretch control horizontally within a parent's layout slot.