Windows Forms Web Browser User Control Update in WPF

I am trying to use a Windows Forms web browser user control in my WPF application.

<WindowsFormsHost Width="900" Grid.Column="0" Height="700" x:Name="WinFormsHost1" HorizontalAlignment="Left" Margin="5" VerticalAlignment="Top"  Grid.ColumnSpan="2"/>

In my code, I set the WindowsFormsHost child of an existing web browser to another object

WinFormsHost1.Child = bot.WebBrowser;

The Chrome web browser here updates the values ​​in the table in which I need the user to be able to view (and see the updated one), but the other one hosted in my project is not updated, I circled the value that was updated in Chrome, but not in my wpf application.

WPF application on the left, Google Chrome on the right

http://i.imgur.com/73tBRu3.png

+4
source share
1 answer

IE. Internet Explorer , - . Geckofx (Firefox Embedded # control) CefGlue (Chromium Embed), .

Geckofx Control

CefGlue Control

0

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


All Articles