I am working with the MVVM pattern in WPF (a bit new to both).
I would like to set the InputBinding to a CheckBox that matches the Control + Click event, but does not see the Modifiers property in the MouseBinding element. This is what I would like to achieve (dummy code, obviously, modifiers do not exist):
<CheckBox> <CheckBox.InputBindings> <MouseBinding MouseAction="LeftClick" Command="{Binding CheckboxControlClickCommand}" Modifiers="Control" /> </CheckBox.InputBindings> </CheckBox>
Any ideas on how to do this without using events?
Thanks!
source share