Browser.GestureEvent provides an ability to be notified that the user has performed a gesture. TheGestureType enumeration contains all supported types of gesture interaction.

The following sample code shows how to implement gesture events handler:

C#

private void GestureEvent(object sender, DotNetBrowser.Events.GestureEventArgs e)
{
    if (e.IsCtrlDown && e.GestureType == GestureType.TWO_FINGER_TAP)
    {
        MessageBox.Show("Success!");
    }
}

VB.NET

Private Sub GestureEvent(ByVal sender As Object, ByVal e As DotNetBrowser.Events.GestureEventArgs)
    If e.IsCtrlDown AndAlso e.GestureType = GestureType.TWO_FINGER_TAP Then
        MessageBox.Show("Success!")
    End If
End Sub


If you need to intercept and discard some gestures so they will not be handled by the Chromium engine, then you need to use Browser.HandleGestureEvent. This event allows consuming the performed interaction. 

C#

private void HandleGestureEvent(object sender, HandledGestureEventArgs e)
{
    if (e.GestureType == GestureType.LONG_PRESS 
                && e.SourceDevice == SourceDevice.TOUCHSCREEN)
    {
        e.Handled = true;
        MessageBox.Show("Event handled!");
    }
}

VB.NET

Private Sub HandleGestureEvent(ByVal sender As Object, ByVal e As HandledGestureEventArgs)
    If e.GestureType = GestureType.LONG_PRESS AndAlso e.SourceDevice = SourceDevice.TOUCHSCREEN Then
        e.Handled = True
        MessageBox.Show("Event handled!")
    End If
End Sub