(using WPF) i try to detect when Ctrl + Enter gets hit. so i tried this code:
if (e.Key == Key.Return && (e.Key == Key.LeftCtrl || e.Key == Key.RightCtrl))
{
//Do Something
}
Obviously this is not correct, as it does not work. Could anyone help me out, explaining what the right way should be ?
thanx
e.KeyboardDevice.Modifiers
should help me out i think :) – Sandon