# ToolClickEventArgs

Namespace: **Wisej.Web**

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

Provides data for the ToolClick event.

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

```csharp
public class ToolClickEventArgs : EventArgs
```

{% endtab %}

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

```visual-basic
Public Class ToolClickEventArgs
    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) ToolClickEventArgs(item)

Initializes a new instance of the [ToolClickEventArgs](https://docs.wisej.com/api/wisej.web/editors/wisej.web.toolclickeventargs) class for the clicked [ComponentTool](https://docs.wisej.com/api/wisej.web/editors/wisej.web.componenttool).

| Name     | Type                                                                                  | Description                                                                                                       |
| -------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| **item** | [ComponentTool](https://docs.wisej.com/api/wisej.web/editors/wisej.web.componenttool) | The [ComponentTool](https://docs.wisej.com/api/wisej.web/editors/wisej.web.componenttool) to store in this event. |

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

[ComponentTool](https://docs.wisej.com/api/wisej.web/editors/wisej.web.componenttool): Returns the clicked tool item.

## Used By

| Name                                                                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ----------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ToolClickEventHandler](https://docs.wisej.com/api/wisej.web/editors/wisej.web.toolclickeventhandler) | Represents the method that will handle the [ToolClick](https://docs.wisej.com/api/wisej.web/wisej.web.textboxbase#toolclick), [ToolClick](https://docs.wisej.com/api/wisej.web/monthcalendar#toolclick), [ToolClick](https://docs.wisej.com/api/lists-and-grids/treeview#toolclick), [ToolClick](https://docs.wisej.com/api/containers/form#toolclick), [ToolClick](https://docs.wisej.com/api/containers/wisej.web.panel#toolclick), [ToolClick](https://docs.wisej.com/api/lists-and-grids/datagridview#toolclick), [ToolClick](https://docs.wisej.com/api/lists-and-grids/listview#toolclick) events. |
