System.Windows.Controls.WebBrowser (IFramed window) 如何在 xaml(WPF) 中与其父视图通信
How does System.Windows.Controls.WebBrowser (IFramed window) can communicate to its parent view in xaml(WPF)
如何在WPF中做类似下面的事情,下面link中使用的WebBrowser属于windows形式。我需要在父视图(window opener)和子视图(window opened)
之间进行通信
您可以使用 WindowsFormsHost 控件 https://www.wpf-tutorial.com/misc-controls/the-windowsformshost-control/ 在 WPF 中使用 WebBrowser 及其属性和事件,并实现与 link
中相同的功能
终于用下面的方法实现了http://www.dotnetfunda.com/articles/show/840/working-with-webbrowser-in-wpf
如何在WPF中做类似下面的事情,下面link中使用的WebBrowser属于windows形式。我需要在父视图(window opener)和子视图(window opened)
之间进行通信您可以使用 WindowsFormsHost 控件 https://www.wpf-tutorial.com/misc-controls/the-windowsformshost-control/ 在 WPF 中使用 WebBrowser 及其属性和事件,并实现与 link
中相同的功能终于用下面的方法实现了http://www.dotnetfunda.com/articles/show/840/working-with-webbrowser-in-wpf