如何在 Windows Phone 7 中禁用 ListBoxes/ScrollViewer 的过度滚动效果

发布于 2024-10-10 06:26:49 字数 246 浏览 0 评论 0原文

有什么方法可以禁用 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.

list of installed applications

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

℉絮湮 2024-10-17 06:26:49

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文