# ListViewItemDragEventHandler

Namespace: **Wisej.Web**

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

Represents the method that will handle the [ItemDrag](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/..#itemdrag) event of a [ListView](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview) control.

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

```csharp
public delegate void ListViewItemDragEventHandler(Object sender, ListViewItemDragEventArgs e)
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Parameters

| Name       | Type                                                                                                                           | Description                                                                                                                                                     |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **sender** | [Object](https://docs.microsoft.com/dotnet/api/system.object)                                                                  | The source of the event.                                                                                                                                        |
| **e**      | [ListViewItemDragEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewitemdrageventargs) | An [ListViewItemDragEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewitemdrageventargs) that contains the event data. |

## Fired By

| Name                                                                                           | Description                                                                                                                                 |
| ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [ListView.ItemDrag](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/..#itemdrag) | Fired when the user begins dragging a [ListViewItem](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewitem). |
