# ItemSelectionChangedEventHandler

Namespace: **Wisej.Web**

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

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

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

```csharp
public delegate void ItemSelectionChangedEventHandler(Object sender, ItemSelectionChangedEventArgs e)
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Parameters

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

## Fired By

| Name                                                                                                                   | Description                                        |
| ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [ListView.ItemSelectionChanged](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/..#itemselectionchanged) | Fired when the selection state of an item changes. |
