Windows phone 7 scrollviewer problem

戏子无情 提交于 2019-12-04 01:30:15

Your Grid, that is the only child of the ScrollViewer, has a fixed height of 1768. That determines the maximum area that can be scrolled up/down by the ScrollViewer.

Your ScrollViewer stretches to fit its parent by default. That parent is another Grid that also has a fixed height of 1768.

Therefore the ScrollViewer has a fixed height of 1768 as well, so there is nothing to scroll. The amount available to scroll is the difference between the ScrollViewer height and the content height. In this case the difference is 0.

Remove the fixed height of the outer Grid. I doubt your Windows Phone has a 1768 high screen :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!