I have a question related to key handling in CefSharp for WPF. I implemented the IKeyboardHandler interface and my ChromiumWebBrowser is using it as KeyboardHandler. The main logic is in the OnPreKeyEvent method where I return true if my key wass handled, false otherwise.
The issue is that if the F10 key is pressed, the screen loses focus as F10 is a system key and toggles the Windows Menu. How could I let CefSharp know not to relay the F10 to the OS for handling so my screen keeps focus?
In standard WPF there would be a e.Handled that I could set to true, but in this case there is none (based on documentation the return value does this though).