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).
Loading
Jayraj ChhayaPosted Feb 23, 2024, 6:46 AM
Hi Clyde Eisenbeis,
You can utilize the ListBox's MouseDoubleClick event along with the ItemContainerGenerator.