Welcome Guest Search | Active Topics | Sign In | Register

[EO.WebBrowser] Difference between WebView Classes Options
Michael
Posted: Thursday, July 23, 2015 3:49:38 AM
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
eo_support
Posted: Thursday, July 23, 2015 11:56:37 AM
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!
Michael
Posted: Friday, July 24, 2015 7:12:18 AM
Rank: Member
Groups: Member

Joined: 6/16/2014
Posts: 25
eo_support
Posted: Friday, July 24, 2015 1:03:59 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.