Disable IE Shortcuts in WebBrowser Controls

I am using a WPF WebBrowser control to host a Silverlight application. There are several shortcut keys in the Silverlight application, however, they conflict with shortcuts from Internet Explorer (for example, Ctrl + S). There are also some unwanted effects from keyboard shortcuts, for example. I do not want users to press Ctrl + N to open a new window, etc.

Is there a way to disable keyboard shortcuts for a WebBrowser control?

Note. I already tried using the InputBindings property in the WebBrowser control and did something like this:

KeyBinding Command="NotACommand" Key="S"

This does not work.

+5
source share
1 answer

, WinForms WebBrowser WebBrowserShortcutsEnabled false.

0

All Articles