How I can add an additional condition for a certain keyboard key, to a WPF MouseLeftButtonDown event-handler?
MouseLeftButtonDown
For example Ctrl + key
private void Grid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { ... }
If you want to detect modifiers only, you can also use:
if (Keyboard.Modifiers == ModifierKeys.Control) {} if (Keyboard.Modifiers == ModifierKeys.Shift) {}
etc. More here.