# ItemClickEventArgs

Namespace: **Wisej.Web**

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

* [MouseEventArgs](https://docs.wisej.com/api/wisej.web/general/control/wisej.web.mouseeventargs)
  * [ItemClickEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.itemclickeventargs)

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

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

```csharp
public class ItemClickEventArgs : MouseEventArgs
```

{% endtab %}

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

```visual-basic
Public Class ItemClickEventArgs
    Inherits MouseEventArgs
```

{% 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) ItemClickEventArgs(item, button, clicks)

Initializes a new instance of the [ItemClickEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.itemclickeventargs) 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) the mouse pointer is currently hovering over.   |
| **button** | [MouseButtons](https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.mousebuttons)             | One of the [MouseButtons](https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.mousebuttons) values that indicate which mouse button was pressed. |
| **clicks** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                          | The number of times a mouse button was pressed.                                                                                                          |

## 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) Item

[ListViewItem](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.listviewitem): Returns the item that was clicked or tapped.

## Used By

| Name                                                                                                                   | Description                                                                                                                                                                                                              |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [ItemClickEventHandler](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.itemclickeventhandler) | Represents the method that will handle the [ItemClick](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/..#itemclick) event of a [ListView](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview). |
