# ItemSelectionChangedEventArgs

Namespace: **Wisej.Web**

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

Provides data for the [ItemSelectionChanged](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/..#itemselectionchanged) event.

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

```csharp
public class ItemSelectionChangedEventArgs : EventArgs
```

{% endtab %}

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

```visual-basic
Public Class ItemSelectionChangedEventArgs
    Inherits EventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) ItemSelectionChangedEventArgs(item, itemIndex, isSelected)

Initializes a new instance of the [ItemSelectionChangedEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.itemselectionchangedeventargs) class.

| Name           | Type                                                                                                 | Description                                                                                                                                              |
| -------------- | ---------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **item**       | [ListViewItem](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewitem) | The [ListViewItem](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewitem) whose selection state has changed.              |
| **itemIndex**  | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                          | The index of the [ListViewItem](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewitem) whose selection state has changed. |
| **isSelected** | [Boolean](https://docs.microsoft.com/dotnet/api/system.boolean)                                      | true to indicate the item's state has changed to selected; false to indicate the item's state has changed to deselected.                                 |

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) IsSelected

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns a value indicating whether the item's state has changed to selected.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) Item

[ListViewItem](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewitem): Returns the item whose selection state has changed.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) ItemIndex

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the index of the item whose selection state has changed.

## Used By

| Name                                                                                                                                         | Description                                                                                                                                                                                                                                    |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ItemSelectionChangedEventHandler](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.itemselectionchangedeventhandler) | 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). |
