如何在 Windows Phone 7 中禁用 ListBoxes/ScrollViewer 的过度滚动效果
有什么方法可以禁用 ListBox 或 ScrollViewers 的过度滚动效果吗?我认为这种效应也被称为“橡皮筋效应”。
我想完全禁用它 或者,如果容器中只有几个项目,则禁用它;如果容器中的项目多于一个屏幕上适合的项目数量,则重新启用它。
已安装应用程序的列表正是我想要实现的行为。没有过度滚动的情况。
Is there any way to disable the overscrolling-effect for ListBoxes or ScrollViewers? I think the effect is also called "rubber-band-effect".
I'd like to completely disable it
or to disable it, if there are only a few items in the container, and re-enable it if there are more items in the container than the number of items that fit on one screen.
The list of installed application has exactly the behavior I want to achieve. There is no overscrolling.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
API 在此阶段似乎尚未公开此功能。
在尝试这样做之前我也会仔细考虑,因为这将是整个平台上一致的行为 - 就像在其他平台上一样。
This capability doesn't appear to be exposed at this stage by the API.
I would think carefully before trying to do this also, as it will be behaviour that is consistant throughout the platform - as it is on other platforms.