Clyde Eisenbeis

Clyde Eisenbeis

  • 1.6k
  • 54
  • 6.6k

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

Feb 22 2024 8:07 PM

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)