Skip to content

Commit d752b58

Browse files
committed
WPF - Set ChromiumWebBrowser as focused element
1 parent 25efdfd commit d752b58

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎CefSharp.MinimalExample.Wpf/MainWindow.xaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
xmlns:behaviours="clr-namespace:CefSharp.MinimalExample.Wpf.Behaviours"
77
xmlns:behaviors="http://schemas.microsoft.com/xaml/behaviors"
88
Title="{Binding Path=Title, ElementName=Browser, Converter={StaticResource TitleConverter}}"
9+
FocusManager.FocusedElement="{Binding ElementName=Browser}"
910
WindowState="Maximized">
1011
<Grid>
1112
<Grid.RowDefinitions>

0 commit comments

Comments
 (0)