Rank: Member Groups: Member
Joined: 6/16/2014 Posts: 25
|
Hi, I'm wondering, whats the difference between the EO.WebBrowser.WebView and EO.WebBrowser.Wpf.WebView Class. Any tips about that?
Best regards, Michael
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
I assume that you meant EO.WebBrowser.WebView and EO.WebBrowser.Wpf.WebControl. WebView is the core browser engine and it has no knowlege of the application framework you use. Wpf.WebControl is a thin wrapper that helps you to use WebView in WPF application easier. For example, in order to create a WebView directly, you must first create a window handle, then pass that window handle to the WebView. However if you use Wpf.WebControl, then Wpf.WebControl does this part for you so if you use Wpf.WebControl, then all you need to do is to put a Wpf.WebControl in the window.
Note that since the primary purpose of Wpf.WebControl is to inteact with WPF, it does not expose any WebView functionatilies. For all WebView related functionalties, you would still use WebView class directly (through WebControl.WebView property). So basically Wpf.WebControl creates the WebView object and then handle it over to you through its WebView property.
Thanks!
|
Rank: Member Groups: Member
Joined: 6/16/2014 Posts: 25
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
I see. Yes. They are primarily the same. The difference is they belong to different namespace. The Wpf.WebView makes it possible to write eo:WebView directly in your XAML. That's the sole purpose of this class.
Thanks!
|