Awesomium webcontrol

So, I am trying to use something other than IE for my webcontrol in my side project (C # project type, WPF), and I looked for alternatives and tried in the past, but did not implement them.

I decided to try again and implement awesomium, however it is still confusing, as always, and has no direct examples to use as a base.

Can anyone show me how to implement awesomium for webview / webcontrol? My vision is for him to go to the voting site, and while my application is still open to store it (i.e. Does not update it so that it does not lose anything), as it appears in the tabitem space.

+4
source share
2 answers

I used Awesomium, but the latest version I used was 1.6.1, and there are some differences between this and the current version - they actually simplified the situation.

The documentation says that you can force control over a control by setting the property Source:

<osm:WebControl Name="webControl"
                Source="http://www.google.com/" 
                />

If you find that the property is Sourcenot binding, and then just return to using some code in the view, subscribe to the property change event from the viewmodel (or from the event broker, if you use it), and change the property Sourcein response to the event.

+2
source

, Source , URI , - . github .

, , URI, , :

CurrentSource = "FakeUriString".ToUri();
CurrentSource = "http://www.yourpage.com".ToUri();

, Awesomium - 1.7.4.2, , .

+1

Source: https://habr.com/ru/post/1584680/


All Articles