Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Touch event on awesomium webbrowser

Tags:

c#

wpf

awesomium

By default awesomium in WPF application doesn't support touch event for zoom and panning:

  browserLeft.StylusDown += browserLeft_StylusDown;
  browserLeft.TouchDown += browserLeft_TouchDown;

I want to manipulate browser by myself, but none of the code wont occur touches, why?

like image 711
Moslem . Avatar asked Jul 31 '13 19:07

Moslem .


1 Answers

Look @ http://wiki.awesomium.net/wpf/user-input.html "When using the WPF WebControl, it is the WebViewPresenter and not the WebControl itself that handles user input. This means that handling user input related events on the WebControl, will not prevent the WebViewPresenter from handling these events and passing them to the native view." Hope this is the problem

like image 189
Tarek.Eladly Avatar answered Oct 16 '22 20:10

Tarek.Eladly