# TouchEventHandler

Namespace: **Wisej.Web**

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

Represents the method that will handle the [TouchStart](https://docs.wisej.com/api/wisej.web/general/control/..#touchstart), [TouchEnd](https://docs.wisej.com/api/wisej.web/general/control/..#touchend), [TouchMove](https://docs.wisej.com/api/wisej.web/general/control/..#touchmove), [TouchCancel](https://docs.wisej.com/api/wisej.web/general/control/..#touchcancel) events.

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

```csharp
public delegate void TouchEventHandler(Object sender, TouchEventArgs e)
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Parameters

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

## Fired By

| Name                                                                                       | Description                                                                                                                        |
| ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------- |
| [Control.TouchStart](https://docs.wisej.com/api/wisej.web/general/control/..#touchstart)   | Fired when a touch point is placed on the touch surface.                                                                           |
| [Control.TouchEnd](https://docs.wisej.com/api/wisej.web/general/control/..#touchend)       | Fired when a touch point is removed from the touch surface.                                                                        |
| [Control.TouchCancel](https://docs.wisej.com/api/wisej.web/general/control/..#touchcancel) | Fired when a touch point has been disrupted in an implementation-specific manner (for example, too many touch points are created). |
| [Control.TouchMove](https://docs.wisej.com/api/wisej.web/general/control/..#touchmove)     | Fired when a touch point is moved along the touch surface.                                                                         |
