# DesktopTaskBarItemClickEventHandler

Namespace: **Wisej.Web**

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

Represents the method that will handle the [ItemClick](https://docs.wisej.com/api/wisej.web/containers/desktop/..#itemclick) event of a [Desktop](https://docs.wisej.com/api/wisej.web/containers/desktop).

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

```csharp
public delegate void DesktopTaskBarItemClickEventHandler(Object sender, DesktopTaskBarItemClickEventArgs e)
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Parameters

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

## Fired By

| Name                                                                                                  | Description                                                                                                                                                                                                          |
| ----------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Desktop.ItemClick](https://docs.wisej.com/api/wisej.web/containers/desktop/..#itemclick)             | Fired when a [DesktopTaskBarItem](https://docs.wisej.com/api/wisej.web/containers/desktop/wisej.web.desktoptaskbaritem) on the [Desktop](https://docs.wisej.com/api/wisej.web/containers/desktop) is clicked.        |
| [Desktop.ItemDoubleClick](https://docs.wisej.com/api/wisej.web/containers/desktop/..#itemdoubleclick) | Fired when a [DesktopTaskBarItem](https://docs.wisej.com/api/wisej.web/containers/desktop/wisej.web.desktoptaskbaritem) on the [Desktop](https://docs.wisej.com/api/wisej.web/containers/desktop) is double clicked. |
