# ScrollOrientation

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Specifies the scroll bar orientation for the [Scroll](https://docs.wisej.com/api/content/scrollbar#scroll) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public enum ScrollOrientation : Enum
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Enum ScrollOrientation As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| Name                 | Description                |
| -------------------- | -------------------------- |
| **HorizontalScroll** | The horizontal scroll bar. |
| **VerticalScroll**   | The vertical scroll bar.   |

## Used By

| Name                                                                                                                          | Description                                                      |
| ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| [ScrollEventArgs.ScrollOrientation](https://docs.wisej.com/api/content/scrollbar/wisej.web.scrolleventargs#scrollorientation) | Returns the scroll bar orientation that raised the Scroll event. |
| [ScrollProperties.Orientation](https://docs.wisej.com/api/content/scrollbar/wisej.web.scrollproperties#orientation)           | Returns the orientation of the scrollbar.                        |
| [HScrollProperties.Orientation](https://docs.wisej.com/api/content/scrollbar/wisej.web.hscrollproperties#orientation)         | Returns the orientation of the scrollbar.                        |
| [VScrollProperties.Orientation](https://docs.wisej.com/api/content/scrollbar/wisej.web.vscrollproperties#orientation)         | Returns the orientation of the scrollbar.                        |
