Hello guys,
I'm facing a little issue with newWindow event on wpf project.
My webcontrol is declared like in your documentation,
Code: HTML/ASPX
<eo:WebControl x:Name="webControleEO">
<eo:WebControl.WebView>
<eo:WebView x:Name="webViewEO" >
</eo:WebView>
</eo:WebControl.WebView>
</eo:WebControl>
And I'd like to do something like this :
Code: C#
private void webViewEO_NewWindow(object sender, NewWindowEventArgs
{
e.Accepted = true;
this.webViewEO = e.WebView; // error on this
}
But I can't because e.WebView is from the type "EO.WebBrowser.WebView" and my WebViewEO is "EO.WebBrowser.Wpf.WebView".
Is there any way to cast any webview to wpf.Webview ?
In the documentation I can read in the "EO.WebBrowser.Wpf.WebView" class description that it's "An alias for EO.WebBrowser.WebView."
Thanks you