问题
Is there a way to disable pinch and zoom on a WPF WebBrowser Control. The enviroment is a win8 Desktop WPF app using .NET4.0. With a regedit setting that tells it to use IE10 engine.
I have already tried using css to disable it but does not work for WebBrowser Control. It does work if the page is viewed from web browsers.
回答1:
If still interested, you'd need to disable Disable IE Legacy Input Model for WebBrowser control. I've just answered similar questions here and here, with a working sample project.
来源:https://stackoverflow.com/questions/17875845/wpf-webbrowser-control-disable-pinch-and-zoom-on-win8-desktop