C
ComptonAlvaro
Guest
<button aria-describedby="--stacks-s-tooltip-m8fc5vau" aria-label="Bookmark" aria-pressed="false" class="js-bookmark-btn s-btn s-btn__unset c-pointer py4 js-gps-track" data-controller="s-tooltip" data-gps-track="post.click({ item: 1, priv: 17, post_type: 1 })" data-s-tooltip-placement="right" data-selected-classes="fc-yellow-600"></button><svg aria-hidden="true" class="mln2 mr0 svg-icon iconHistory" height="18" viewBox="0 0 19 18" width="19"></svg>
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.
Continue reading...
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.
Continue reading...