1
Answer

Simple C#/WPF code for a MouseDoubleClick on a ListBox item?

Clyde Eisenbeis

Clyde Eisenbeis

Feb 22
549
1

There are numerous comments about MouseDoubleClick for a ListBox and ListView. Most are a bit complicated.

One that looks simple is MouseBinding.Gesture Property (System.Windows.Input). However, it is not clear if this would work for a ListBox, or how to implement it.

Is there an example of simple C#/WPF code for a MouseDoubleClick on a ListBox item? The MouseDoubleClick jumps to the C# code (similar to a Button_Click).

Answers (1)