Microsoft Touch的ListboxItem中的TouchDown事件? [英] TouchDown event in ListboxItem for Microsoft Touch?

查看:89
本文介绍了Microsoft Touch的ListboxItem中的TouchDown事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在listboxItem中实现一个TouchDown事件以显示该项目的详细信息.
I wish to implement a TouchDown event in the listboxItem to show details of that item.

推荐答案

嗨Anishshrestha,

Hi Anishshrestha,

根据您的描述,我认为您可能正在寻找 主从模式.您可以在Google/必应/使用此关键字主详细模式WPF"的任何位置进行Google搜索以获得更多示例.

Based on your description, I think you are probably looking for Master-Detail Pattern. You can google/bing/whatever this keyword "master detail pattern WPF" to get more samples on this.

如果您想添加一个类似于DataGrid的详细信息面板,则需要重新模板化ListBox.请退房 该帖子以获取更多信息.

If you want to add a details panel just like DataGrid, you will need to re-template the ListBox. Please check out this post for more information.

如果您对此问题仍有任何疑问或疑虑,请随时让我知道,并请详细说明您需要帮助的部分.

If you still have any questions or concerns about this issue, please feel free to let me know and please kindly elaborate on which part you need help.

最好的问候


这篇关于Microsoft Touch的ListboxItem中的TouchDown事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆