# TagTextBoxMousEventHandler

Namespace: **Wisej.Web**

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

Represents the method that will handle the [TagClick](https://docs.wisej.com/api/wisej.web/editors/tagtextbox/..#tagclick) or [TagDoubleClick](https://docs.wisej.com/api/wisej.web/editors/tagtextbox/..#tagdoubleclick) events of a [TagTextBox](https://docs.wisej.com/api/wisej.web/editors/tagtextbox) control.

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

```csharp
public delegate void TagTextBoxMousEventHandler(Object sender, TagTextBoxMousEventArgs e)
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Parameters

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

## Fired By

| Name                                                                                                   | Description                                                                            |
| ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
| [TagTextBox.TagClick](https://docs.wisej.com/api/wisej.web/editors/tagtextbox/..#tagclick)             | Fired when the user clicks (or taps) on a tag outside of the close icon.               |
| [TagTextBox.TagDoubleClick](https://docs.wisej.com/api/wisej.web/editors/tagtextbox/..#tagdoubleclick) | Fired when the user double clicks (or double taps) on a tag outside of the close icon. |
