【发布时间】:2011-07-26 00:11:57
【问题描述】:
当点击某个项目时,是否可以将中继命令绑定到列表框项目?
【问题讨论】:
标签: wpf xaml command viewmodel relaycommand
当点击某个项目时,是否可以将中继命令绑定到列表框项目?
【问题讨论】:
标签: wpf xaml command viewmodel relaycommand
您在 irem 的帖子中有解决方案: How to bind a command in WPF to a double click event handler of a control?
:)
(PS:我建议您不要使用建议的 AttachedBehaviors。我认为将如此复杂的架构添加到您的程序中以进行基本的操作是完全不合适的,只需单击一下)
【讨论】: