# DockPosition 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 DockPosition
```

Enumeration to define the dock position of a control, such as tabs in the [TabControl](https://eto.picoe.ca/api/type/eto.forms.tabcontrol.md)

## Values

| Name | Value | Description |
| --- | --- | --- |
| Top | 0 | Element is docked to the top of the content. |
| Left | 1 | Element is docked to the left of the content. |
| Right | 2 | Element is docked to the right of the content. |
| Bottom | 3 | Element is docked to the bottom of the content. |
