File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
CefSharp.Wpf.Example/ViewModels Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ private void Go()
207
207
{
208
208
Address = AddressEditable ;
209
209
210
- Keyboard . Focus ( ( IInputElement ) WebBrowser ) ;
210
+ Keyboard . Focus ( WebBrowser ) ;
211
211
}
212
212
213
213
public void LoadCustomRequestExample ( )
Original file line number Diff line number Diff line change 3
3
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
4
4
5
5
using System ;
6
+ using System . Windows ;
6
7
using System . Windows . Input ;
7
8
using System . Windows . Threading ;
8
9
using CefSharp . Enums ;
@@ -15,7 +16,7 @@ namespace CefSharp.Wpf
15
16
/// and properties the <see cref="ChromiumWebBrowser" /> exposes.
16
17
/// </summary>
17
18
/// <seealso cref="CefSharp.IWebBrowser" />
18
- public interface IWpfWebBrowser : IWebBrowser
19
+ public interface IWpfWebBrowser : IWebBrowser , IInputElement
19
20
{
20
21
/// <summary>
21
22
/// Navigates to the previous page in the browser history. Will automatically be enabled/disabled depending on the
You can’t perform that action at this time.
0 commit comments