Sourabh Choubey

Sourabh Choubey

  • NA
  • 186
  • 8.7k

how to use attachedhandlerevent event in wpf webbrowser cont

Apr 13 2017 10:02 AM
how to use attachedhandlerevent event in wpf webbrowser control
 
var div = webBrowser1.Document as mshtml.HTMLDocument;
IHTMLElement target = div.getElementById("tabcontent");
if (target != null)
{
target.AttachEventHandler("onpropertychange", handler);
}//I am getting error in AttachEventHandler
It shows mshtml.ihtmlelement does not contain a definition for AttachEventHandler.