ListBox上的MouseBinding/LeftDoubleClick不起作用 [英] MouseBinding/LeftDoubleClick on a ListBox does not work

查看:91
本文介绍了ListBox上的MouseBinding/LeftDoubleClick不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,

我的WPF应用程序中有一个ListBox.现在,我想将ListBox连接到一个命令,该命令负责打开当前选定的项目.此命令也可用于工具按钮"或ContextMenu.

I have a ListBox in my WPF Application. Now I want to connect the ListBox to a command, which is responsible for opening the current selected item. This command is also use for ToolButtons or the ContextMenu.

我尝试了以下操作:

代码段

推荐答案

嗨乔,

您是否找到使用LeftDoubleClick的ListBox的解决方案 MouseAction?我正在调查,但认为您可能有一个 回答.

干杯.

丹尼斯
Hi Joe,

Did you find a solution to the ListBox consuming the LeftDoubleClick MouseAction? I'm looking into it now but thought you may have an answer.

cheers.

Dennis


这篇关于ListBox上的MouseBinding/LeftDoubleClick不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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