I have created a web browser app for windows phone 7 using web browser control. I just want to hide the textBox(used for entering URL) named as “UrlTextBox” when the user touches on the web browser control(named as “browsers”) and again if the user tap on the web browser control, the textBox should be Visible. Can anyone help me with this??? Thanks in advance for your hard work!!!
Share
You’re likely not going to be able to do this the way you want. The WebBrowser control doesn’t pass through the gestures, as it needs them itself, so tapping on the web browser isn’t going to do anything.
What you might want to look into is either using the
ApplicationBaror creating something “like” anApplicationBarthat handles the tap event. That, combined with toggling the textbox’sVisibilitybetweenVisibleandCollapsedshould get you what you need.