# C1Zoom Mouse Wheel

You can zoom the Form by Ctrl + Mouse Wheel scroll when the active control does not handle the MouseWheel message. To enable this behavior, use the following code:

## Content



You can zoom the Form by **Ctrl + Mouse** Wheel scroll when the active control does not handle the MouseWheel message. To enable this behavior, use the following code:

```vbnet
C1Zoom1.AllowMouseWheelZoom = True
```

```csharp
c1Zoom1.AllowMouseWheelZoom = true;
```


> type=note
> **Note**:
> 
> *   If you set the **C1Zoom.AllowPinchZoom** property to **False**, the Form still can zoom, because the **Ctrl + MouseWheel** message is valid if **C1Zoom.AllowMouseWheelZoom = True**.
> 
> *   If you add a **C1ZoomPanel** to the Form. Make sure the focus is in the C1ZoomPanel control. Pinch outside the **C1ZoomPanel**, the **C1ZoomPane**l will zoom if the **C1ZoomPanel.AllowMouseWheelZoom = True**.