# PinchEventHandler

Namespace: **Wisej.Web**

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

Represents the method that will handle the [Pinch](https://docs.wisej.com/api/wisej.web/general/control/..#pinch) event.

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

```csharp
public delegate void PinchEventHandler(Object sender, PinchEventArgs e)
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Parameters

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

## Fired By

| Name                                                                           | Description                                                                                               |
| ------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------- |
| [Control.Pinch](https://docs.wisej.com/api/wisej.web/general/control/..#pinch) | Fired when two finger moved towards or away from each other. It contains the scaling factor of the pinch. |
