WP7数据透视控件和WebBrowser控件 [英] WP7 Pivot control and a WebBrowser control
问题描述
我有一个Pivot,其中包含一个WebBrowser控件,该控件实际上占据了整个页面(当然来自Pivot标头)。
I have a Pivot which contains a WebBrowser control that practically takes up the whole page (appart from the Pivot header of course).
我想弄清楚如何使WebBrowser控件允许用户向左/向右滑动以激活Pivot控件。目前,它只是向左/向右平移WebBrowser控件
I would like to figure out how to make the WebBrowser control allow for the user to swipe left/right to activate the Pivot control. Currently it just pans the WebBrowser control left/right
可以做到吗?
谢谢
推荐答案
这类似于将地图放入透视图中-此处将进行讨论- http://mine.tuxfamily.org/?p=111 -已经在很多问题中提到-https://stackoverflow.com/search?q=mine.tuxfamily.org
This is similar to putting a Map inside a Pivot - which is discussed here - http://mine.tuxfamily.org/?p=111 - already mentioned in quite a few questions - https://stackoverflow.com/search?q=mine.tuxfamily.org
通常,建议似乎基于可用性:
In general, the advice seems to be usability based:
- 尝试避免将使用Touch的控件放在PivotItem的内部
顺便说一句,如果您只是使用Web浏览器控件获取很少量的静态html(因此您根本不需要任何滚动),则只需从网络浏览器中删除HitTesting。
As an aside, if you are just using the web browser control for a very small amount of static html (so you don't need any scrolling at all) then you could just remove HitTesting from the web browser.
这篇关于WP7数据透视控件和WebBrowser控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!