mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 09:37:03 +00:00
Focus on browser when going fullscreen to shift keyboard focus (#29)
This commit is contained in:
committed by
GitHub
parent
7d6a9858bc
commit
22982e63b6
@@ -33,6 +33,7 @@ namespace CefSharp.Wpf.HwndHost.Example.Handlers
|
||||
WindowState = WindowState.Maximized,
|
||||
Content = webBrowser
|
||||
};
|
||||
fullScreenWindow.Loaded += (_,_) => webBrowser.Focus();
|
||||
|
||||
fullScreenWindow.ShowDialog();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user