.net - How to Add a webbrowser into popup in windows phone (code behind) -
below code snippet using add web-browser pop control not seem work .
popup codepopup = new popup(); stackpanel test = new stackpanel(); webbrowser wb1 = new webbrowser(); wb1.navigated += wb1_navigated; wb1.navigate(new uri(@"http://www.google.com")); test.children.add(wb1); test.height = application.current.host.content.actualheight; test.width = application.current.host.content.actualwidth; codepopup.child = test; this.layoutroot.children.add(codepopup); codepopup.isopen = true;
you have set height , width of webbrowser control.
Comments
Post a Comment