# ScrollEventHandler

Namespace: **Wisej.Web**

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

Represents the method that handles the Scroll event of a [ScrollableControl](https://docs.wisej.com/api/wisej.web/containers/scrollablecontrol), [ScrollBar](https://docs.wisej.com/api/wisej.web/content/scrollbar), [TrackBar](https://docs.wisej.com/api/wisej.web/editors/wisej.web.trackbar), or [DataGridView](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview).

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

```csharp
public delegate void ScrollEventHandler(Object sender, ScrollEventArgs e)
```

{% endtab %}

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

```visual-basic
Public Delegate Sub ScrollEventHandler(ByVal sender As [Object], ByVal e As ScrollEventArgs)
```

{% endtab %}
{% endtabs %}

## Parameters

| Name       | Type                                                                                                | Description                                                                                                                         |
| ---------- | --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **sender** | [Object](https://docs.microsoft.com/dotnet/api/system.object)                                       | The source of the event.                                                                                                            |
| **e**      | [ScrollEventArgs](https://docs.wisej.com/api/wisej.web/content/scrollbar/wisej.web.scrolleventargs) | A [ScrollEventArgs](https://docs.wisej.com/api/wisej.web/content/scrollbar/wisej.web.scrolleventargs) that contains the event data. |

## Fired By

| Name                                                                                               | Description                                                                                                               |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| [ScrollableControl.Scroll](https://docs.wisej.com/api/containers/scrollablecontrol#scroll)         | Fired when the user or code scrolls through the client area.                                                              |
| [ScrollBar.Scroll](https://docs.wisej.com/api/content/scrollbar#scroll)                            | Fired when the scroll box has been moved by either a mouse or keyboard action.                                            |
| [DataGridView.Scroll](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#scroll) | Fired when the user or code scrolls the grid.                                                                             |
| [SlideBar.Scroll](https://docs.wisej.com/api/containers/wisej.web.slidebar#scroll)                 | Fired when the [SlideBar](https://docs.wisej.com/api/wisej.web/containers/wisej.web.slidebar) widget scrolls its content. |
| [ListView.Scroll](https://docs.wisej.com/api/wisej.web/listview#scroll)                            | Fired when the user or code scrolls the [ListView](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview).        |
