# DataGridViewToolClickEventHandler

Namespace: **Wisej.Web**

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

Represents the method that will handle the [CellToolClick](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#celltoolclick) event.

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

```csharp
public delegate void DataGridViewToolClickEventHandler(Object sender, DataGridViewToolClickEventArgs e)
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Parameters

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

## Fired By

| Name                                                                                                             | Description                                                                                                                            |
| ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| [DataGridView.CellToolClick](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#celltoolclick) | Fired when a [ComponentTool](https://docs.wisej.com/api/wisej.web/editors/wisej.web.componenttool) hosted in a cell editor is clicked. |
