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