diff --git a/CefSharp.Wpf.Example/ViewModels/BrowserTabViewModel.cs b/CefSharp.Wpf.Example/ViewModels/BrowserTabViewModel.cs
index 5fe7ec362..5237a590f 100644
--- a/CefSharp.Wpf.Example/ViewModels/BrowserTabViewModel.cs
+++ b/CefSharp.Wpf.Example/ViewModels/BrowserTabViewModel.cs
@@ -207,7 +207,7 @@ namespace CefSharp.Wpf.Example.ViewModels
{
Address = AddressEditable;
- Keyboard.Focus((IInputElement)WebBrowser);
+ Keyboard.Focus(WebBrowser);
}
public void LoadCustomRequestExample()
diff --git a/CefSharp.Wpf/IWpfWebBrowser.cs b/CefSharp.Wpf/IWpfWebBrowser.cs
index 8084180a3..a30dc2353 100644
--- a/CefSharp.Wpf/IWpfWebBrowser.cs
+++ b/CefSharp.Wpf/IWpfWebBrowser.cs
@@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
+using System.Windows;
using System.Windows.Input;
using System.Windows.Threading;
using CefSharp.Enums;
@@ -15,7 +16,7 @@ namespace CefSharp.Wpf
/// and properties the exposes.
///
///
- public interface IWpfWebBrowser : IWebBrowser
+ public interface IWpfWebBrowser : IWebBrowser, IInputElement
{
///
/// Navigates to the previous page in the browser history. Will automatically be enabled/disabled depending on the