标签: wpf xaml command viewmodel relaycommand
点击项目时,是否可以将relaycommand绑定到listboxitems?
答案 0 :(得分:0)
你在irem的帖子中有解决方案: How to bind a command in WPF to a double click event handler of a control?
:)
(PS:我建议你不要使用AttachedBehaviors建议。我认为将这样一个复杂的架构添加到你的程序中进行基本的单击操作是完全不合适的。