This forum is closed. Thank you for your contributions.
Normally, with textboxes, I use an input binding to bind it to the command in my view model. I do it in this way:
<TextBox.InputBindings> <MouseBinding Gesture="LeftDoubleClick" Command="{Binding MyCommand}"/> </TextBox.InputBindings>
This work if I set it in my textbox, but if I set it in my combobox, it doesn't work.
<ComboBox.InputBindings> <MouseBinding Gesture="LeftDoubleClick" Command="{Binding MyCommand}"/> </ComboBox.InputBindings>
How could I bind the doble click?
Thanks.
Michael Taylor http://www.michaeltaylorp3.net
I'll assume you're talking about ASP.NET MVC that has a forum in ASP.NET forums.
https://forums.asp.net/
In case you are taking about WPF.
https://docs.microsoft.com/en-us/answers/topics/wpf.html