WPF触摸屏ListBox控件设计

发布于 2024-08-29 01:34:47 字数 119 浏览 3 评论 0原文

我需要允许用户在鼠标按下时选择列表框中的项目,当用户向上或向下拖动时,我需要滚动列表框中的项目,因为用户与列表框触摸触摸屏交互,我想要类似的东西ipod 行为。 用户应该能够触摸/抓住该项目并将其向上或向下拖动以滚动列表框。

I need to allow the user to select the item in a listbox on mouse down and when the user drags up or down i need to scroll the items in listbox, since the user interacts with the listbox touch touch screen, i want some thing like the ipod behaviour.
User should be able to touch/grab the item and drag it up or down to scroll the listbox.

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

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

发布评论

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

评论(1

迷途知返 2024-09-05 01:34:47

您可以使用 Surface Toolkit 中的 SurfaceListBox 控件,该控件完美适合触摸设备。

http://msdn.microsoft.com/en-us/library/ee957351.aspx

You can go with the SurfaceListBox control from Surface Toolkit that perfectly fits touch devices.

http://msdn.microsoft.com/en-us/library/ee957351.aspx

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