---
title: "slint::language::Orientation Enum"
description: "Represents the orientation of an element or widget such as the `Slider`."
---
```cpp
enum class Orientation
```

| Value | Description |
| --- | --- |
| `Horizontal` | Element is oriented horizontally. |
| `Vertical` | Element is oriented vertically. |

Represents the orientation of an element or widget such as the `Slider`.