.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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -