# HorizontalAlignment enum

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public enum HorizontalAlignment
```

Horizontal alignment for controls

## Values

| Name | Value | Description |
| --- | --- | --- |
| Left | 0 | Controls are aligned to the left of the container. |
| Center | 1 | Controls are centered. |
| Right | 2 | Controls are aligned to the right of the container. |
| Stretch | 3 | Controls stretch to fill the entire width of the container. |
