I have a button, I need it to react to shift + mouseclick . You must use mvvm

That's not how it works

 <Button> <Button.InputBindings> <MouseBinding Command="{Binding AAA}" Gesture="Shift+LeftClick" /> </Button.InputBindings> </Button> 

Maybe there are other ways?

    1 answer 1

    It should be so

     <MouseBinding Command="{Binding AAA}" MouseAction="LeftClick" Gesture="Shift+LeftClick"/>